結果
| 問題 | No.9002 FizzBuzz(テスト用) | 
| ユーザー | 👑  testestest | 
| 提出日時 | 2015-08-05 01:07:56 | 
| 言語 | C90 (gcc 12.3.0) | 
| 結果 | 
                                WA
                                 
                             | 
| 実行時間 | - | 
| コード長 | 122 bytes | 
| コンパイル時間 | 454 ms | 
| コンパイル使用メモリ | 19,712 KB | 
| 実行使用メモリ | 6,944 KB | 
| 最終ジャッジ日時 | 2024-07-18 01:21:38 | 
| 合計ジャッジ時間 | 840 ms | 
| ジャッジサーバーID (参考情報) | judge1 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | WA * 4 | 
コンパイルメッセージ
main.c: In function ‘main’:
main.c:3:22: warning: implicit declaration of function ‘printf’ [-Wimplicit-function-declaration]
    3 | while(n>=++x)x%3?x%5?printf("%d\n",x):printf("Buzz\n"):x%5?printf("Fizz\n"):printf("FizzBuzz\n");
      |                      ^~~~~~
main.c:1:1: note: include ‘<stdio.h>’ or provide a declaration of ‘printf’
  +++ |+#include <stdio.h>
    1 | int main(){
main.c:3:22: warning: incompatible implicit declaration of built-in function ‘printf’ [-Wbuiltin-declaration-mismatch]
    3 | while(n>=++x)x%3?x%5?printf("%d\n",x):printf("Buzz\n"):x%5?printf("Fizz\n"):printf("FizzBuzz\n");
      |                      ^~~~~~
main.c:3:22: note: include ‘<stdio.h>’ or provide a declaration of ‘printf’
            
            ソースコード
int main(){
int n,x=0;
while(n>=++x)x%3?x%5?printf("%d\n",x):printf("Buzz\n"):x%5?printf("Fizz\n"):printf("FizzBuzz\n");
}
            
            
            
        