結果
問題 | No.304 鍵(1) |
ユーザー | testestest |
提出日時 | 2016-04-25 19:48:03 |
言語 | C90 (gcc 11.4.0) |
結果 |
WA
(最新)
AC
(最初)
|
実行時間 | - |
コード長 | 61 bytes |
コンパイル時間 | 147 ms |
コンパイル使用メモリ | 22,460 KB |
実行使用メモリ | 24,312 KB |
平均クエリ数 | 2167.17 |
最終ジャッジ日時 | 2023-09-23 10:27:29 |
合計ジャッジ時間 | 2,047 ms |
ジャッジサーバーID (参考情報) |
judge15 / judge11 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | WA | - |
testcase_01 | WA | - |
testcase_02 | WA | - |
testcase_03 | WA | - |
testcase_04 | WA | - |
testcase_05 | WA | - |
コンパイルメッセージ
main.c:1:1: warning: data definition has no type or storage class i;main(s){for(;fflush(!printf("%03d\n",i++)),read(0,&s,1););} ^ main.c:1:1: warning: type defaults to ‘int’ in declaration of ‘i’ [-Wimplicit-int] main.c:1:3: warning: return type defaults to ‘int’ [-Wimplicit-int] i;main(s){for(;fflush(!printf("%03d\n",i++)),read(0,&s,1););} ^~~~ main.c: In function ‘main’: main.c:1:3: warning: type of ‘s’ defaults to ‘int’ [-Wimplicit-int] main.c:1:16: warning: implicit declaration of function ‘fflush’ [-Wimplicit-function-declaration] i;main(s){for(;fflush(!printf("%03d\n",i++)),read(0,&s,1););} ^~~~~~ main.c:1:24: warning: implicit declaration of function ‘printf’ [-Wimplicit-function-declaration] i;main(s){for(;fflush(!printf("%03d\n",i++)),read(0,&s,1););} ^~~~~~ main.c:1:24: warning: incompatible implicit declaration of built-in function ‘printf’ main.c:1:24: note: include ‘<stdio.h>’ or provide a declaration of ‘printf’ +#include <stdio.h> i;main(s){for(;fflush(!printf("%03d\n",i++)),read(0,&s,1););} ^~~~~~ main.c:1:46: warning: implicit declaration of function ‘read’ [-Wimplicit-function-declaration] i;main(s){for(;fflush(!printf("%03d\n",i++)),read(0,&s,1););} ^~~~
ソースコード
i;main(s){for(;fflush(!printf("%03d\n",i++)),read(0,&s,1););}