結果

問題 No.304 鍵(1)
ユーザー satos___jpsatos___jp
提出日時 2015-11-27 22:35:09
言語 C++11
(gcc 11.4.0)
結果
WA  
実行時間 -
コード長 686 bytes
コンパイル時間 955 ms
コンパイル使用メモリ 62,736 KB
実行使用メモリ 24,348 KB
平均クエリ数 1000.00
最終ジャッジ日時 2023-09-23 06:40:58
合計ジャッジ時間 2,623 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

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("%d\n",i);
		fflush(stdout);
		char s[105];
		scanf("%s",s);
		if(s[0]=='u')return 0;
	}
	return 0;
}




0