結果
| 問題 | 
                            No.304 鍵(1)
                             | 
                    
| コンテスト | |
| ユーザー | 
                             成りすましはダメよ
                         | 
                    
| 提出日時 | 2015-12-05 09:11:25 | 
| 言語 | C90  (gcc 12.3.0)  | 
                    
| 結果 | 
                             
                                TLE
                                 
                             
                            
                            (最新)
                                AC
                                 
                             
                            (最初)
                            
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 136 bytes | 
| コンパイル時間 | 156 ms | 
| コンパイル使用メモリ | 20,352 KB | 
| 実行使用メモリ | 40,484 KB | 
| 最終ジャッジ日時 | 2024-07-16 22:00:06 | 
| 合計ジャッジ時間 | 6,554 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge4 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | TLE * 1 -- * 5 | 
コンパイルメッセージ
main.c: In function ‘main’:
main.c:8:1: warning: implicit declaration of function ‘gets’; did you mean ‘fgets’? [-Wimplicit-function-declaration]
    8 | gets(s);
      | ^~~~
      | fgets
/usr/bin/ld: /tmp/ccJOYywu.o: in function `main':
main.c:(.text.startup+0x4a): 警告: the `gets' function is dangerous and should not be used.
            
            ソースコード
#include <stdio.h>
int main(void) {
char s[257];
int i = 0;
start:
printf("%d\n",i++);
gets(s);
if (s[0]=='l') goto start;
return 0;}
            
            
            
        
            
成りすましはダメよ