結果
問題 |
No.305 鍵(2)
|
ユーザー |
![]() |
提出日時 | 2015-12-01 20:39:20 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 401 bytes |
コンパイル時間 | 1,384 ms |
コンパイル使用メモリ | 159,020 KB |
実行使用メモリ | 25,604 KB |
平均クエリ数 | 2080.00 |
最終ジャッジ日時 | 2024-07-16 08:02:37 |
合計ジャッジ時間 | 4,577 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | WA * 13 |
ソースコード
#include <bits/stdc++.h> using namespace std; void solve(){ string T = "xxxxxxxxxx"; int n; for (int i = 0; i < 10; ++i) { T[i] = '0'; for(;T[i]++;) { cout << T << endl; cin >> n; cin.ignore(10, '\n'); if(n == i + 1) break; } } } signed main() { cin.tie(0); ios::sync_with_stdio(false); cout << fixed << setprecision(9); solve(); return 0; }