結果
問題 | No.9002 FizzBuzz(テスト用) |
ユーザー | chiyo |
提出日時 | 2015-05-22 03:27:16 |
言語 | Java21 (openjdk 21) |
結果 |
WA
|
実行時間 | - |
コード長 | 381 bytes |
コンパイル時間 | 3,509 ms |
コンパイル使用メモリ | 72,708 KB |
実行使用メモリ | 36,684 KB |
最終ジャッジ日時 | 2024-07-06 04:26:20 |
合計ジャッジ時間 | 3,920 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | WA | - |
testcase_01 | WA | - |
testcase_02 | WA | - |
testcase_03 | AC | 56 ms
36,588 KB |
ソースコード
public class test { public static void main(String[] args){ for(int count = 1; count<=100;count++){ if(count%3==0 && count%5==0){ System.out.println("FizzBuzz"); }else if(count%3==0){ System.out.println("Fizz"); }else if(count%5==0){ System.out.println("Buzz"); }else{ System.out.println(count); } } } }