結果
| 問題 | No.3418 【絶望】30個並列ごちゃ混ぜHit&Blowで遊ぼう! |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-12-25 01:28:20 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 567 bytes |
| 記録 | |
| コンパイル時間 | 1,562 ms |
| コンパイル使用メモリ | 195,092 KB |
| 実行使用メモリ | 26,228 KB |
| スコア | 0 |
| 平均クエリ数 | 252.00 |
| 最終ジャッジ日時 | 2025-12-25 01:29:42 |
| 合計ジャッジ時間 | 9,802 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 100 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main(){
ios_base::sync_with_stdio(false);
cin.tie(nullptr);
string s = "";
auto dfs = [&](auto dfs,int pos) -> void {
if(pos == 10){
if(s.size() == 5){
cout << s << endl;
int h,b; cin >> h >> b;
for(int i=1; i<30; i++) cin >> b >> b;
if(h == 5) exit(0);
}
return;
}
dfs(dfs,pos+1);
s += '0'+pos;
dfs(dfs,pos+1);
s.pop_back();
};
dfs(dfs,0);
}