結果

問題 No.304 鍵(1)
ユーザー naimonon77naimonon77
提出日時 2016-01-02 21:50:30
言語 C++11
(gcc 11.4.0)
結果
AC  
実行時間 64 ms / 2,000 ms
コード長 525 bytes
コンパイル時間 602 ms
コンパイル使用メモリ 61,492 KB
実行使用メモリ 24,048 KB
平均クエリ数 309.17
最終ジャッジ日時 2023-09-23 23:03:51
合計ジャッジ時間 1,362 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 29 ms
23,628 KB
testcase_01 AC 31 ms
23,520 KB
testcase_02 AC 64 ms
23,520 KB
testcase_03 AC 30 ms
23,412 KB
testcase_04 AC 45 ms
23,556 KB
testcase_05 AC 29 ms
24,048 KB
権限があれば一括ダウンロードができます

ソースコード

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);
    cin >> s;
    if(s[0] == 'u') break;
  }
  return 0;
}
0