結果
| 問題 | 
                            No.304 鍵(1)
                             | 
                    
| コンテスト | |
| ユーザー | 
                             hirakich1048576
                         | 
                    
| 提出日時 | 2016-03-14 16:02:12 | 
| 言語 | C90  (gcc 12.3.0)  | 
                    
| 結果 | 
                             
                                TLE
                                 
                             
                            
                            (最新)
                                AC
                                 
                             
                            (最初)
                            
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 114 bytes | 
| コンパイル時間 | 116 ms | 
| コンパイル使用メモリ | 19,840 KB | 
| 実行使用メモリ | 39,888 KB | 
| 最終ジャッジ日時 | 2024-07-16 23:05:41 | 
| 合計ジャッジ時間 | 6,531 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge1 / judge3 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | TLE * 1 -- * 5 | 
コンパイルメッセージ
main.c: In function ‘main’:
main.c:3:49: warning: implicit declaration of function ‘gets’; did you mean ‘fgets’? [-Wimplicit-function-declaration]
    3 | int main(void){for(i=0;;++i){printf("%03d\n",i),gets(u);if(*u=='u')return 0;}}
      |                                                 ^~~~
      |                                                 fgets
/usr/bin/ld: /tmp/cc7SqK9f.o: in function `main':
main.c:(.text.startup+0x44): 警告: the `gets' function is dangerous and should not be used.
            
            ソースコード
#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;}}
            
            
            
        
            
hirakich1048576