結果
問題 | No.304 鍵(1) |
ユーザー | nxteru |
提出日時 | 2017-04-03 21:10:14 |
言語 | C (gcc 12.3.0) |
結果 |
TLE
(最新)
AC
(最初)
|
実行時間 | - |
コード長 | 170 bytes |
コンパイル時間 | 338 ms |
コンパイル使用メモリ | 26,552 KB |
実行使用メモリ | 36,288 KB |
最終ジャッジ日時 | 2023-09-24 00:57:09 |
合計ジャッジ時間 | 6,917 ms |
ジャッジサーバーID (参考情報) |
judge12 / judge14 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | TLE | - |
testcase_01 | -- | - |
testcase_02 | -- | - |
testcase_03 | -- | - |
testcase_04 | -- | - |
testcase_05 | -- | - |
コンパイルメッセージ
main.c: 関数 ‘main’ 内: main.c:7:9: 警告: implicit declaration of function ‘gets’; did you mean ‘fgets’? [-Wimplicit-function-declaration] 7 | gets(s); | ^~~~ | fgets /tmp/ccAErqfJ.o: In function `main': main.c:(.text.startup+0x1e): warning: 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; } }