結果
| 問題 |
No.304 鍵(1)
|
| コンテスト | |
| ユーザー |
square1001
|
| 提出日時 | 2016-10-29 18:14:43 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 39 ms / 2,000 ms |
| コード長 | 291 bytes |
| コンパイル時間 | 1,674 ms |
| コンパイル使用メモリ | 169,064 KB |
| 実行使用メモリ | 25,604 KB |
| 平均クエリ数 | 143.50 |
| 最終ジャッジ日時 | 2024-07-17 00:35:24 |
| 合計ジャッジ時間 | 2,156 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 6 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
string f(int x) {
string res = to_string(x);
while(res.size() < 3) res = '0' + res;
return res;
}
int main() {
string res;
for(int i = 999; ; i++) {
cout << f(i % 1000) << endl;
cin >> res;
if(res == "unlocked") break;
}
return 0;
}
square1001