結果
| 問題 | No.305 鍵(2) |
| コンテスト | |
| ユーザー |
testestest
|
| 提出日時 | 2015-12-19 16:06:50 |
| 言語 | C90 (gcc 12.4.0) |
| 結果 |
TLE
(最新)
AC
(最初)
|
| 実行時間 | - |
| コード長 | 104 bytes |
| 記録 | |
| コンパイル時間 | 304 ms |
| コンパイル使用メモリ | 28,456 KB |
| 最終ジャッジ日時 | 2026-02-23 20:11:38 |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | TLE * 1 -- * 12 |
コンパイルメッセージ
main.c:1:12: warning: data definition has no type or storage class
1 | char s[99];i,t,k;main(){for(*s=48;k<10;t<(k&=4111)&&(t=k,s[++i]=48)||s[i]++)puts(s),fflush(0),gets(&k);}
| ^
/usr/bin/ld: /tmp/cc0npSpj.o: in function `main':
main.c:(.text.startup+0x68): 警告: the `gets' function is dangerous and should not be used.
ソースコード
char s[99];i,t,k;main(){for(*s=48;k<10;t<(k&=4111)&&(t=k,s[++i]=48)||s[i]++)puts(s),fflush(0),gets(&k);}
testestest