結果

問題 No.304 鍵(1)
ユーザー naimonon77naimonon77
提出日時 2016-01-02 21:51:15
言語 C++11
(gcc 11.4.0)
結果
TLE  
(最新)
AC  
(最初)
実行時間 -
コード長 530 bytes
コンパイル時間 535 ms
コンパイル使用メモリ 60,680 KB
実行使用メモリ 35,652 KB
最終ジャッジ日時 2023-09-23 23:04:07
合計ジャッジ時間 7,155 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 TLE -
testcase_01 -- -
testcase_02 -- -
testcase_03 -- -
testcase_04 -- -
testcase_05 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

#define _CRT_SECURE_NO_WARNINGS
#include <iostream>
#include <cstring>
#include <algorithm>
#include <limits.h>
#include <cmath>
#include <time.h>
#define REP(i,a,b) for(i=a;i<b;i++)
#define rep(i,n) REP(i,0,n)
using namespace std;

typedef long long ll;
typedef unsigned long long ull;
typedef long double ld;

int test = 0;
/* ここからが本編 */
int main(void)
{
  int i,j,k,l;
  char s[10];
  for(i=0;i<1000;i++) {
    printf("%03d\n",i);
    fflush(stdin);
    scanf("%s",s);
    if(s[0] == 'u') break;
  }
  return 0;
}
0