結果

問題 No.305 鍵(2)
ユーザー testestesttestestest
提出日時 2015-12-19 16:11:49
言語 C90
(gcc 11.4.0)
結果
TLE  
(最新)
AC  
(最初)
実行時間 -
コード長 100 bytes
コンパイル時間 91 ms
コンパイル使用メモリ 23,016 KB
実行使用メモリ 36,136 KB
最終ジャッジ日時 2023-09-23 22:26:18
合計ジャッジ時間 6,496 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 TLE -
testcase_01 -- -
testcase_02 -- -
testcase_03 -- -
testcase_04 -- -
testcase_05 -- -
testcase_06 -- -
testcase_07 -- -
testcase_08 -- -
testcase_09 -- -
testcase_10 -- -
testcase_11 -- -
testcase_12 -- -
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.c:1:14: warning: data definition has no type or storage class
 char s[9999];t,k;main(){for(*s=48;k<10;t<(k&=4111)&&(s[t=k]=48)||s[t]++)puts(s),fflush(0),gets(&k);}
              ^
main.c:1:14: warning: type defaults to ‘int’ in declaration of ‘t’ [-Wimplicit-int]
main.c:1:16: warning: type defaults to ‘int’ in declaration of ‘k’ [-Wimplicit-int]
 char s[9999];t,k;main(){for(*s=48;k<10;t<(k&=4111)&&(s[t=k]=48)||s[t]++)puts(s),fflush(0),gets(&k);}
                ^
main.c:1:18: warning: return type defaults to ‘int’ [-Wimplicit-int]
 char s[9999];t,k;main(){for(*s=48;k<10;t<(k&=4111)&&(s[t=k]=48)||s[t]++)puts(s),fflush(0),gets(&k);}
                  ^~~~
main.c: In function ‘main’:
main.c:1:73: warning: implicit declaration of function ‘puts’ [-Wimplicit-function-declaration]
 char s[9999];t,k;main(){for(*s=48;k<10;t<(k&=4111)&&(s[t=k]=48)||s[t]++)puts(s),fflush(0),gets(&k);}
                                                                         ^~~~
main.c:1:81: warning: implicit declaration of function ‘fflush’ [-Wimplicit-function-declaration]
 char s[9999];t,k;main(){for(*s=48;k<10;t<(k&=4111)&&(s[t=k]=48)||s[t]++)puts(s),fflush(0),gets(&k);}
                                                                                 ^~~~~~
main.c:1:91: warning: implicit declaration of function ‘gets’ [-Wimplicit-function-declaration]
 char s[9999];t,k;main(){for(*s=48;k<10;t<(k&=4111)&&(s[t=k]=48)||s[t]++)puts(s),fflush(0),gets(&k);}
                                                                                           ^~~~
/tmp/ccVj2G08.o: In function `main':
main.c:(.text.startup+0x50): warning: the `gets' function is dangerous and should not be used.

ソースコード

diff #

char s[9999];t,k;main(){for(*s=48;k<10;t<(k&=4111)&&(s[t=k]=48)||s[t]++)puts(s),fflush(0),gets(&k);}
0