結果
問題 | No.2848 Birthday Hit and Blow |
ユーザー |
👑 ![]() |
提出日時 | 2024-06-05 02:04:29 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
RE
|
実行時間 | - |
コード長 | 565 bytes |
コンパイル時間 | 772 ms |
コンパイル使用メモリ | 69,348 KB |
最終ジャッジ日時 | 2025-02-21 19:25:57 |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | RE * 1 |
ソースコード
#include <iostream>#include <vector>using namespace std;int main() {int T;cin >> T;if (T != 1) {return 1;}cout << "? 1234" << endl;int h1, b1;cin >> h1 >> b1;if (h1 == -1 || b1 == -1) {return 1;}cout << "? 9810" << endl;int h2, b2;cin >> h2 >> b2;if (h2 == -1 || b2 == -1) {return 1;}cout << "? 0123" << endl;int h3, b3;cin >> h3 >> b3;if (h3 == -1 || b3 == -1) {return 1;}cout << "! 0823" << endl;int a;cin >> a;}