結果
| 問題 |
No.304 鍵(1)
|
| コンテスト | |
| ユーザー |
Lay_ec
|
| 提出日時 | 2015-11-27 23:08:03 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 63 ms / 2,000 ms |
| コード長 | 577 bytes |
| コンパイル時間 | 717 ms |
| コンパイル使用メモリ | 84,656 KB |
| 実行使用メモリ | 25,220 KB |
| 平均クエリ数 | 309.17 |
| 最終ジャッジ日時 | 2024-07-16 21:49:21 |
| 合計ジャッジ時間 | 1,737 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 6 |
ソースコード
#include <iostream>
#include <string>
#include <vector>
#include <cmath>
#include <algorithm>
#include <cstdlib>
#include <ctime>
#include <cstdio>
#include <functional>
#include <set>
#include <sstream>
#include <map>
#include <queue>
#include <stack>
using namespace std;
int main(){
for(int i=0;i<1000;i++){
stringstream ss;
ss<<i;
string out=ss.str();
while(out.size()!=3) out='0'+out;
cout<<out<<endl;
cout.flush();
string res;
cin>>res;
if(res[0]=='u') break;
}
return 0;
}
Lay_ec