結果
| 問題 |
No.305 鍵(2)
|
| コンテスト | |
| ユーザー |
もる
|
| 提出日時 | 2015-12-08 19:24:09 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
(最新)
AC
(最初)
|
| 実行時間 | - |
| コード長 | 491 bytes |
| コンパイル時間 | 635 ms |
| コンパイル使用メモリ | 68,204 KB |
| 実行使用メモリ | 25,604 KB |
| 平均クエリ数 | 101.00 |
| 最終ジャッジ日時 | 2024-07-16 08:04:06 |
| 合計ジャッジ時間 | 4,246 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 13 |
ソースコード
#include<iostream>
#include<string>
#include <vector>
#include <algorithm>
#include <iomanip>
using namespace std;
int main(int argc, char const *argv[])
{
int K=0;
string ans="0000000000";
for (int i = 0; i < 10; ++i)
{
for (int j = 0; j< 10; ++j)
{
string S = "aaaaaaaaaa";
S[i] = j + '0';
int R;
string N;
cout<<S<<endl;
cin>>R;
cin>>N;
if(R == 1)
{
K = ++K;
ans[i]+= j;
break;
}
}
}
cout<<ans<<endl;
return 0;
}
もる