結果
| 問題 | No.304 鍵(1) |
| コンテスト | |
| ユーザー |
koyumeishi
|
| 提出日時 | 2015-09-18 15:54:49 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 56 ms / 2,000 ms |
| コード長 | 312 bytes |
| 記録 | |
| コンパイル時間 | 550 ms |
| コンパイル使用メモリ | 73,320 KB |
| 実行使用メモリ | 25,220 KB |
| 平均クエリ数 | 523.00 |
| 最終ジャッジ日時 | 2024-07-16 20:40:25 |
| 合計ジャッジ時間 | 1,455 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 6 |
ソースコード
#include <iostream>
#include <random>
using namespace std;
int main(){
mt19937 mt(114514);
uniform_int_distribution<int> dstr(0,999);
char buff[10];
while(1){
sprintf(buff, "%03d", dstr(mt));
cout << buff << endl;
string tmp;
cin >> tmp;
if(tmp == "unlocked"){
return 0;
}
}
return 0;
}
koyumeishi