結果

問題 No.304 鍵(1)
ユーザー satos___jpsatos___jp
提出日時 2015-11-27 22:36:38
言語 C++11
(gcc 11.4.0)
結果
AC  
実行時間 62 ms / 2,000 ms
コード長 687 bytes
コンパイル時間 513 ms
コンパイル使用メモリ 63,132 KB
実行使用メモリ 24,384 KB
平均クエリ数 309.17
最終ジャッジ日時 2023-09-23 20:54:04
合計ジャッジ時間 1,330 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 29 ms
23,460 KB
testcase_01 AC 29 ms
23,580 KB
testcase_02 AC 62 ms
24,252 KB
testcase_03 AC 29 ms
24,384 KB
testcase_04 AC 44 ms
24,360 KB
testcase_05 AC 29 ms
24,252 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<cstdio>
#include<cstring>
#include<vector>
#include<queue>
#include<algorithm>
#include<cmath>
#include<climits>
#include<string>
#include<set>
#include<map>
using namespace std;
#define rep(i,n) for(int i=0;i<((int)(n));i++)
#define reg(i,a,b) for(int i=((int)(a));i<=((int)(b));i++)
#define irep(i,n) for(int i=((int)(n))-1;i>=0;i--)
#define ireg(i,a,b) for(int i=((int)(b));i>=((int)(a));i--)
typedef long long int lli;
typedef pair<int,int> mp;
#define fir first
#define sec second
#define IINF INT_MAX
#define LINF LLONG_MAX


int main(void){
	rep(i,1000){
		printf("%03d\n",i);
		fflush(stdout);
		char s[105];
		scanf("%s",s);
		if(s[0]=='u')return 0;
	}
	return 0;
}



0