結果

問題 No.9000 Hello World! (テスト用)
ユーザー goodbatongoodbaton
提出日時 2014-11-13 23:21:58
言語 C++11
(gcc 11.4.0)
結果
WA  
実行時間 -
コード長 228 bytes
コンパイル時間 158 ms
コンパイル使用メモリ 25,096 KB
実行使用メモリ 4,380 KB
最終ジャッジ日時 2023-08-30 03:25:01
合計ジャッジ時間 630 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <cstdio>

int main(){
  int n;

  scanf("%d",&n);
  for(int i=1;i<=n;i++){
    if(i%3==0) printf("Fizz");
    if(i%5==0) printf("Buzz");
    if(i%3 && i%5) printf("%d",i);
    printf("\n");
 }
  return 0;
}
0