結果
問題 |
No.305 鍵(2)
|
ユーザー |
|
提出日時 | 2017-08-16 00:43:33 |
言語 | C (gcc 13.3.0) |
結果 |
RE
(最新)
AC
(最初)
|
実行時間 | - |
コード長 | 150 bytes |
コンパイル時間 | 111 ms |
コンパイル使用メモリ | 28,416 KB |
実行使用メモリ | 25,476 KB |
平均クエリ数 | 1.00 |
最終ジャッジ日時 | 2024-07-17 01:24:34 |
合計ジャッジ時間 | 9,098 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | RE * 13 |
コンパイルメッセージ
main.c:1:1: warning: data definition has no type or storage class 1 | a[10],s[9];*p=a;r;o(k){r=k>9?fflush(!puts("")),atoi(gets(s)):o(k,putchar(a[k++]+48));}main(c){for(c=o(0);c<10;p++)for(;*p>8?*p=0:o(!++*p)>c?!++c:1;);} | ^ main.c:1:1: warning: type defaults to 'int' in declaration of 'a' [-Wimplicit-int] main.c:1:7: warning: type defaults to 'int' in declaration of 's' [-Wimplicit-int] 1 | a[10],s[9];*p=a;r;o(k){r=k>9?fflush(!puts("")),atoi(gets(s)):o(k,putchar(a[k++]+48));}main(c){for(c=o(0);c<10;p++)for(;*p>8?*p=0:o(!++*p)>c?!++c:1;);} | ^ main.c:1:12: warning: data definition has no type or storage class 1 | a[10],s[9];*p=a;r;o(k){r=k>9?fflush(!puts("")),atoi(gets(s)):o(k,putchar(a[k++]+48));}main(c){for(c=o(0);c<10;p++)for(;*p>8?*p=0:o(!++*p)>c?!++c:1;);} | ^ main.c:1:13: warning: type defaults to 'int' in declaration of 'p' [-Wimplicit-int] 1 | a[10],s[9];*p=a;r;o(k){r=k>9?fflush(!puts("")),atoi(gets(s)):o(k,putchar(a[k++]+48));}main(c){for(c=o(0);c<10;p++)for(;*p>8?*p=0:o(!++*p)>c?!++c:1;);} | ^ main.c:1:17: warning: data definition has no type or storage class 1 | a[10],s[9];*p=a;r;o(k){r=k>9?fflush(!puts("")),atoi(gets(s)):o(k,putchar(a[k++]+48));}main(c){for(c=o(0);c<10;p++)for(;*p>8?*p=0:o(!++*p)>c?!++c:1;);} | ^ main.c:1:17: warning: type defaults to 'int' in declaration of 'r' [-Wimplicit-int] main.c:1:19: warning: return type defaults to 'int' [-Wimplicit-int] 1 | a[10],s[9];*p=a;r;o(k){r=k>9?fflush(!puts("")),atoi(gets(s)):o(k,putchar(a[k++]+48));}main(c){for(c=o(0);c<10;p++)for(;*p>8?*p=0:o(!++*p)>c?!++c:1;);} | ^ main.c: In function 'o': main.c:1:19: warning: type of 'k' defaults to 'int' [-Wimplicit-int] main.c:1:30: warning: implicit declaration of function 'fflush' [-Wimplicit-function-declaration] 1 | a[10],s[9];*p=a;r;o(k){r=k>9?fflush(!puts("")),atoi(gets(s)):o(k,putchar(a[k++]+48));}main(c){for(c=o(0);c<10;p++)for(;*
ソースコード
a[10],s[9];*p=a;r;o(k){r=k>9?fflush(!puts("")),atoi(gets(s)):o(k,putchar(a[k++]+48));}main(c){for(c=o(0);c<10;p++)for(;*p>8?*p=0:o(!++*p)>c?!++c:1;);}