結果
| 問題 |
No.304 鍵(1)
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-06-23 12:58:00 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 654 bytes |
| コンパイル時間 | 1,615 ms |
| コンパイル使用メモリ | 166,540 KB |
| 実行使用メモリ | 40,492 KB |
| 平均クエリ数 | 142.50 |
| 最終ジャッジ日時 | 2024-06-23 12:58:06 |
| 合計ジャッジ時間 | 5,863 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 5 TLE * 1 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
using ill = int long long;
#define rep(i, n) for (ill i = 0; i < (n); i++)
#define all(s) s.begin(), s.end()
using inp = pair<int, int>;
using vecb = vector<bool>;
using vecb2 = vector<vecb>;
int main()
{
int ans = 0;
while (1)
{
if (ans <= 9)
{
cout << "00" << ans << endl;
}
else if (ans <= 99)
{
cout << "9" << ans << endl;
}
else
{
cout << ans << endl;
}
string s;
cin >> s;
if (s == "unlocked")
{
return 0;
}
ans++;
}
}