結果
| 問題 |
No.207 世界のなんとか
|
| コンテスト | |
| ユーザー |
2ch_GreenApple
|
| 提出日時 | 2015-08-16 16:20:11 |
| 言語 | Java (openjdk 23) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 430 bytes |
| コンパイル時間 | 2,566 ms |
| コンパイル使用メモリ | 74,412 KB |
| 実行使用メモリ | 56,372 KB |
| 最終ジャッジ日時 | 2024-07-18 09:53:14 |
| 合計ジャッジ時間 | 6,016 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 5 WA * 14 |
ソースコード
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int low =sc.nextInt();
int hig =sc.nextInt();
for (int i=low;i<=hig;i++){
if ((i/3)==0){
System.out.println(i);
}else if (String.valueOf(i).indexOf("3") >=0){
System.out.println(i);
}
}
}
}
2ch_GreenApple