結果

問題 No.304 鍵(1)
ユーザー hirakich1048576hirakich1048576
提出日時 2016-03-14 16:02:12
言語 C90
(gcc 11.4.0)
結果
TLE  
(最新)
AC  
(最初)
実行時間 -
コード長 114 bytes
コンパイル時間 136 ms
コンパイル使用メモリ 22,904 KB
実行使用メモリ 35,796 KB
最終ジャッジ日時 2023-09-23 23:19:41
合計ジャッジ時間 6,634 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 TLE -
testcase_01 -- -
testcase_02 -- -
testcase_03 -- -
testcase_04 -- -
testcase_05 -- -
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.c: In function ‘main’:
main.c:3:49: warning: implicit declaration of function ‘gets’; did you mean ‘fgets’? [-Wimplicit-function-declaration]
 int main(void){for(i=0;;++i){printf("%03d\n",i),gets(u);if(*u=='u')return 0;}}
                                                 ^~~~
                                                 fgets
/tmp/ccbCa1Ij.o: In function `main':
main.c:(.text.startup+0x3b): warning: the `gets' function is dangerous and should not be used.

ソースコード

diff #

#include <stdio.h>
char u[9];int i;
int main(void){for(i=0;;++i){printf("%03d\n",i),gets(u);if(*u=='u')return 0;}}
0