結果

問題 No.207 世界のなんとか
ユーザー len_discoreglen_discoreg
提出日時 2016-06-02 20:29:38
言語 Java21
(openjdk 21)
結果
WA  
実行時間 -
コード長 325 bytes
コンパイル時間 3,489 ms
コンパイル使用メモリ 74,128 KB
実行使用メモリ 41,856 KB
最終ジャッジ日時 2024-04-16 23:19:20
合計ジャッジ時間 6,131 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 127 ms
41,352 KB
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 AC 126 ms
41,436 KB
testcase_07 AC 124 ms
41,084 KB
testcase_08 AC 125 ms
41,380 KB
testcase_09 AC 115 ms
41,856 KB
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 AC 125 ms
41,368 KB
testcase_17 AC 124 ms
41,448 KB
testcase_18 AC 109 ms
41,368 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import java.util.Scanner;

public class Yuki207 {
	public static void main(String args[]){
		Scanner scan = new Scanner(System.in);
		long begin = scan.nextLong();
		long end   = scan.nextLong();

		for(long i = begin; i <= end; i++){
			if(i % 3 == 0 || i % 10 == 3 || i / 10 == 3){
				System.out.println(i);
			}
		}
	}
}
0