結果
問題 | No.207 世界のなんとか |
ユーザー | brave_reverse_ |
提出日時 | 2016-01-07 14:17:08 |
言語 | Java21 (openjdk 21) |
結果 |
WA
|
実行時間 | - |
コード長 | 290 bytes |
コンパイル時間 | 3,257 ms |
コンパイル使用メモリ | 75,236 KB |
実行使用メモリ | 57,804 KB |
最終ジャッジ日時 | 2023-10-19 16:40:04 |
合計ジャッジ時間 | 6,470 ms |
ジャッジサーバーID (参考情報) |
judge13 / judge14 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | WA | - |
testcase_01 | AC | 120 ms
56,240 KB |
testcase_02 | WA | - |
testcase_03 | WA | - |
testcase_04 | WA | - |
testcase_05 | WA | - |
testcase_06 | AC | 127 ms
57,512 KB |
testcase_07 | AC | 124 ms
57,344 KB |
testcase_08 | AC | 128 ms
57,524 KB |
testcase_09 | AC | 120 ms
55,844 KB |
testcase_10 | WA | - |
testcase_11 | WA | - |
testcase_12 | WA | - |
testcase_13 | WA | - |
testcase_14 | WA | - |
testcase_15 | WA | - |
testcase_16 | AC | 127 ms
57,580 KB |
testcase_17 | AC | 127 ms
57,476 KB |
testcase_18 | AC | 125 ms
57,432 KB |
ソースコード
package yukicorder; import java.util.Scanner; public class QNo207 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); for(int n=a;n<=b;n++){ if(n%3==0||(n/10)==3||n%10==3) System.out.println(n); } } }