結果
| 問題 | No.207 世界のなんとか |
| コンテスト | |
| ユーザー |
MattyaaMattyan
|
| 提出日時 | 2018-08-16 00:28:24 |
| 言語 | Java (openjdk 23) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 485 bytes |
| 記録 | |
| コンパイル時間 | 3,652 ms |
| コンパイル使用メモリ | 74,876 KB |
| 実行使用メモリ | 54,536 KB |
| 最終ジャッジ日時 | 2024-09-24 09:40:32 |
| 合計ジャッジ時間 | 6,097 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 6 WA * 13 |
ソースコード
import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
// Your code here!
Scanner sc=new Scanner(System.in);
int num1=sc.nextInt();
int num2=sc.nextInt();
for(int i=num1;i<=num2;i++)
{
if(i%3==0)
{
System.out.println(i);
}
else if(i%10==3)
{
System.out.println(i);
}
}
}
}
MattyaaMattyan