結果
問題 | No.305 鍵(2) |
ユーザー |
👑 ![]() |
提出日時 | 2015-12-19 16:16:58 |
言語 | C90 (gcc 12.3.0) |
結果 |
TLE
(最新)
AC
(最初)
|
実行時間 | - |
コード長 | 97 bytes |
コンパイル時間 | 128 ms |
コンパイル使用メモリ | 19,712 KB |
実行使用メモリ | 40,400 KB |
最終ジャッジ日時 | 2024-07-16 22:10:16 |
合計ジャッジ時間 | 6,606 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | TLE * 1 -- * 12 |
コンパイルメッセージ
main.c:1:10: warning: data definition has no type or storage class 1 | char s[];t,k;main(){for(*s=48;k=k<10;t<(k&=4111)&&(s[t=k]=48)||s[t]++)fflush(!puts(s)),gets(&k);} | ^ main.c:1:10: warning: type defaults to ‘int’ in declaration of ‘t’ [-Wimplicit-int] main.c:1:12: warning: type defaults to ‘int’ in declaration of ‘k’ [-Wimplicit-int] 1 | char s[];t,k;main(){for(*s=48;k=k<10;t<(k&=4111)&&(s[t=k]=48)||s[t]++)fflush(!puts(s)),gets(&k);} | ^ main.c:1:14: warning: return type defaults to ‘int’ [-Wimplicit-int] 1 | char s[];t,k;main(){for(*s=48;k=k<10;t<(k&=4111)&&(s[t=k]=48)||s[t]++)fflush(!puts(s)),gets(&k);} | ^~~~ main.c: In function ‘main’: main.c:1:71: warning: implicit declaration of function ‘fflush’ [-Wimplicit-function-declaration] 1 | char s[];t,k;main(){for(*s=48;k=k<10;t<(k&=4111)&&(s[t=k]=48)||s[t]++)fflush(!puts(s)),gets(&k);} | ^~~~~~ main.c:1:79: warning: implicit declaration of function ‘puts’ [-Wimplicit-function-declaration] 1 | char s[];t,k;main(){for(*s=48;k=k<10;t<(k&=4111)&&(s[t=k]=48)||s[t]++)fflush(!puts(s)),gets(&k);} | ^~~~ main.c:1:1: note: include ‘<stdio.h>’ or provide a declaration of ‘puts’ +++ |+#include <stdio.h> 1 | char s[];t,k;main(){for(*s=48;k=k<10;t<(k&=4111)&&(s[t=k]=48)||s[t]++)fflush(!puts(s)),gets(&k);} main.c:1:88: warning: implicit declaration of function ‘gets’ [-Wimplicit-function-declaration] 1 | char s[];t,k;main(){for(*s=48;k=k<10;t<(k&=4111)&&(s[t=k]=48)||s[t]++)fflush(!puts(s)),gets(&k);} | ^~~~ main.c: At top level: main.c:1:6: warning: array ‘s’ assumed to have one element 1 | char s[];t,k;main(){for(*s=48;k=k<10;t<(k&=4111)&&(s[t=k]
ソースコード
char s[];t,k;main(){for(*s=48;k=k<10;t<(k&=4111)&&(s[t=k]=48)||s[t]++)fflush(!puts(s)),gets(&k);}