結果
問題 |
No.304 鍵(1)
|
ユーザー |
![]() |
提出日時 | 2017-04-03 21:11:41 |
言語 | C (gcc 13.3.0) |
結果 |
TLE
(最新)
AC
(最初)
|
実行時間 | - |
コード長 | 172 bytes |
コンパイル時間 | 865 ms |
コンパイル使用メモリ | 26,880 KB |
実行使用メモリ | 39,088 KB |
最終ジャッジ日時 | 2024-07-17 00:51:51 |
合計ジャッジ時間 | 6,706 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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/ccz0RpDR.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\n",i); gets(s); if(s[0]=='l') break; } }