結果
| 問題 |
No.305 鍵(2)
|
| コンテスト | |
| ユーザー |
👑 testestest
|
| 提出日時 | 2016-02-17 09:30:19 |
| 言語 | C90 (gcc 12.3.0) |
| 結果 |
TLE
(最新)
AC
(最初)
|
| 実行時間 | - |
| コード長 | 92 bytes |
| コンパイル時間 | 95 ms |
| コンパイル使用メモリ | 19,584 KB |
| 実行使用メモリ | 40,656 KB |
| 最終ジャッジ日時 | 2024-07-16 22:57:02 |
| 合計ジャッジ時間 | 6,574 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | TLE * 1 -- * 12 |
コンパイルメッセージ
main.c:1:11: warning: data definition has no type or storage class
1 | char s[9];k;main(t){for(t=-1;t<(k&=4111)?s[t=k]=48:s[t]++,k=k<10;gets(&k))fflush(!puts(s));}
| ^
main.c:1:11: warning: type defaults to ‘int’ in declaration of ‘k’ [-Wimplicit-int]
main.c:1:13: warning: return type defaults to ‘int’ [-Wimplicit-int]
1 | char s[9];k;main(t){for(t=-1;t<(k&=4111)?s[t=k]=48:s[t]++,k=k<10;gets(&k))fflush(!puts(s));}
| ^~~~
main.c: In function ‘main’:
main.c:1:13: warning: type of ‘t’ defaults to ‘int’ [-Wimplicit-int]
main.c:1:66: warning: implicit declaration of function ‘gets’ [-Wimplicit-function-declaration]
1 | char s[9];k;main(t){for(t=-1;t<(k&=4111)?s[t=k]=48:s[t]++,k=k<10;gets(&k))fflush(!puts(s));}
| ^~~~
main.c:1:75: warning: implicit declaration of function ‘fflush’ [-Wimplicit-function-declaration]
1 | char s[9];k;main(t){for(t=-1;t<(k&=4111)?s[t=k]=48:s[t]++,k=k<10;gets(&k))fflush(!puts(s));}
| ^~~~~~
main.c:1:83: warning: implicit declaration of function ‘puts’ [-Wimplicit-function-declaration]
1 | char s[9];k;main(t){for(t=-1;t<(k&=4111)?s[t=k]=48:s[t]++,k=k<10;gets(&k))fflush(!puts(s));}
| ^~~~
main.c:1:1: note: include ‘<stdio.h>’ or provide a declaration of ‘puts’
+++ |+#include <stdio.h>
1 | char s[9];k;main(t){for(t=-1;t<(k&=4111)?s[t=k]=48:s[t]++,k=k<10;gets(&k))fflush(!puts(s));}
/usr/bin/ld: /tmp/ccA57OGG.o: in function `main':
main.c:(.text.startup+0x57): 警告: the `gets' function is dangerous and should not be used.
ソースコード
char s[9];k;main(t){for(t=-1;t<(k&=4111)?s[t=k]=48:s[t]++,k=k<10;gets(&k))fflush(!puts(s));}
testestest