結果
| 問題 | 
                            No.304 鍵(1)
                             | 
                    
| コンテスト | |
| ユーザー | 
                             | 
                    
| 提出日時 | 2016-12-03 19:06:03 | 
| 言語 | C90  (gcc 12.3.0)  | 
                    
| 結果 | 
                             
                                TLE
                                 
                             
                            
                            (最新)
                                AC
                                 
                             
                            (最初)
                            
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 179 bytes | 
| コンパイル時間 | 124 ms | 
| コンパイル使用メモリ | 20,608 KB | 
| 実行使用メモリ | 40,528 KB | 
| 最終ジャッジ日時 | 2024-07-17 00:39:45 | 
| 合計ジャッジ時間 | 6,587 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge3 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | TLE * 1 -- * 5 | 
コンパイルメッセージ
main.c: In function ‘main’:
main.c:9:17: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
    9 |                 scanf("%s",s);
      |                 ^~~~~~~~~~~~~
            
            ソースコード
#include<stdio.h>
int main(void){
	int i;
	char s[16];
	for(i = 0;i < 1000;i++){
		printf("%03d\n",i);
		fflush(stdin);
		scanf("%s",s);
		if(s[0] == 'u'){break;}
	}
	return 0;
}