結果
問題 | No.304 鍵(1) |
ユーザー |
![]() |
提出日時 | 2017-04-03 21:10:14 |
言語 | C (gcc 13.3.0) |
結果 |
TLE
(最新)
AC
(最初)
|
実行時間 | - |
コード長 | 170 bytes |
コンパイル時間 | 246 ms |
コンパイル使用メモリ | 27,392 KB |
実行使用メモリ | 40,480 KB |
最終ジャッジ日時 | 2024-07-17 00:52:08 |
合計ジャッジ時間 | 6,632 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | TLE * 1 -- * 5 |
コンパイルメッセージ
main.c: In function 'main': main.c:7:9: warning: implicit declaration of function 'gets'; did you mean 'fgets'? [-Wimplicit-function-declaration] 7 | gets(s); | ^~~~ | fgets /usr/bin/ld: /tmp/cclJkPro.o: in function `main': main.c:(.text.startup+0x2a): 警告: the `gets' function is dangerous and should not be used.
ソースコード
#include <stdio.h> int main(void){ char s[9]; int i=0; while(1){ printf("%03d",i); gets(s); if(s[0]=='l') break; } }