結果
| 問題 | No.207 世界のなんとか |
| コンテスト | |
| ユーザー |
kenji_shioya
|
| 提出日時 | 2016-06-23 01:21:09 |
| 言語 | Java (openjdk 25.0.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 356 bytes |
| 記録 | |
| コンパイル時間 | 3,375 ms |
| コンパイル使用メモリ | 73,784 KB |
| 実行使用メモリ | 41,428 KB |
| 最終ジャッジ日時 | 2024-10-11 19:42:54 |
| 合計ジャッジ時間 | 6,616 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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