結果
問題 | No.304 鍵(1) |
ユーザー |
![]() |
提出日時 | 2016-10-29 18:13:09 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 55 ms / 2,000 ms |
コード長 | 290 bytes |
コンパイル時間 | 1,896 ms |
コンパイル使用メモリ | 168,696 KB |
実行使用メモリ | 25,220 KB |
平均クエリ数 | 309.17 |
最終ジャッジ日時 | 2024-07-17 00:34:48 |
合計ジャッジ時間 | 2,348 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 = 0; i < 1000; i++) {cout << f(i) << endl;cin >> res;if(res == "unlocked") break;}return 0;}