結果
| 問題 | No.305 鍵(2) |
| コンテスト | |
| ユーザー |
testestest
|
| 提出日時 | 2017-09-13 13:44:04 |
| 言語 | C90(gcc12) (gcc 12.4.0) |
| 結果 |
RE
(最新)
AC
(最初)
|
| 実行時間 | - |
| コード長 | 113 bytes |
| 記録 | |
| コンパイル時間 | 102 ms |
| コンパイル使用メモリ | 28,872 KB |
| 実行使用メモリ | 28,976 KB |
| 平均クエリ数 | 1.00 |
| 最終ジャッジ日時 | 2026-03-08 16:14:14 |
| 合計ジャッジ時間 | 3,848 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | RE * 13 |
コンパイルメッセージ
main.c:1:30: warning: data definition has no type or storage class
1 | char s[]="0000000000",*p=s-1;k;main(n){for(;fflush(!puts(s)),k=~atoi(gets(&k)),k-n?k<n?n=k:--*p,p++,k+11:++*p;);}
| ^
/usr/bin/ld: /tmp/ccbzLvik.o: in function `main':
main.c:(.text.startup+0x3d): 警告: the `gets' function is dangerous and should not be used.
ソースコード
char s[]="0000000000",*p=s-1;k;main(n){for(;fflush(!puts(s)),k=~atoi(gets(&k)),k-n?k<n?n=k:--*p,p++,k+11:++*p;);}
testestest