結果

問題 No.3237 Find the Treasure!
ユーザー highlighter
提出日時 2025-08-10 16:16:25
言語 C++23
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 225 bytes
コンパイル時間 5,051 ms
コンパイル使用メモリ 275,264 KB
実行使用メモリ 26,228 KB
平均クエリ数 2.00
最終ジャッジ日時 2025-08-10 16:16:42
合計ジャッジ時間 11,863 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 1
other WA * 22
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<bits/stdc++.h>
using namespace std;

int main(){
	int N;
	cin >> N;
	cout << '?';
	for(int i=0;i<N-1;i++){
		int u,v;
		cin >> u >> v;
		cout << ' ' << u;
	}
	cout << endl;
	string S;
	cin >> S;
	cout << S << endl;
}
0