結果
| 問題 | 
                            No.304 鍵(1)
                             | 
                    
| コンテスト | |
| ユーザー | 
                             | 
                    
| 提出日時 | 2016-06-03 14:25:25 | 
| 言語 | C90  (gcc 12.3.0)  | 
                    
| 結果 | 
                             
                                TLE
                                 
                             
                            
                            (最新)
                                AC
                                 
                             
                            (最初)
                            
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 228 bytes | 
| コンパイル時間 | 113 ms | 
| コンパイル使用メモリ | 20,480 KB | 
| 実行使用メモリ | 40,268 KB | 
| 最終ジャッジ日時 | 2024-07-16 23:55:15 | 
| 合計ジャッジ時間 | 6,664 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge1 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | TLE * 1 -- * 5 | 
コンパイルメッセージ
main.c: In function ‘main’:
main.c:10:5: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   10 |     scanf("%s",a);
      |     ^~~~~~~~~~~~~
            
            ソースコード
#include <stdio.h>
#include <string.h>
int main(){
  int i=0 ;
  char a[10];
  do{
    if(i<10) printf("00%d\n",i);
    else if(i<100)printf("0%d\n",i);
    i++;
    scanf("%s",a);
  }while(strcmp(a,"unlocked"));
  return 0;
}