結果
| 問題 | No.207 世界のなんとか |
| コンテスト | |
| ユーザー |
kenji_shioya
|
| 提出日時 | 2016-06-23 01:21:09 |
| 言語 | Java (openjdk 25.0.2) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 356 bytes |
| 記録 | |
| コンパイル時間 | 3,239 ms |
| コンパイル使用メモリ | 81,220 KB |
| 実行使用メモリ | 41,472 KB |
| 最終ジャッジ日時 | 2026-04-28 04:28:16 |
| 合計ジャッジ時間 | 4,790 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 5 WA * 14 |
ソースコード
import java.util.Scanner;
public class Exercises4{
public static void main (String[] args){
Scanner sc = new Scanner(System.in);
int firstNum = sc.nextInt();
int secondNum = sc.nextInt();
for(int n = firstNum; n < secondNum; n++){
if (n % 3 == 0 || n % 10 == 3 || n / 10 == 3){
System.out.println(n);
}
}
}
}
kenji_shioya