QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#801940#9794. ICPC Shenyang in NEU, the Tenth Consecutive YearEternalRightsWA 1ms3640kbC++14440b2024-12-07 10:51:572024-12-07 10:51:58

Judging History

This is the latest submission verdict.

  • [2024-12-07 10:51:58]
  • Judged
  • Verdict: WA
  • Time: 1ms
  • Memory: 3640kb
  • [2024-12-07 10:51:57]
  • Submitted

answer

#include <bits/stdc++.h>
 
using namespace std;
using i64 = long long;
using u64 = unsigned long long;
using u32 = unsigned;
using pii = pair<int,int>;

int main(){
    cin.tie(nullptr);
	ios::sync_with_stdio(false);

	int t;
	cin >> t;
	while(t--){
		int r;
		for ( int i = 1923; i <= 2023; i++){
			cout << "?" << i << endl;
			cin >> r;
			if ( r != 0){
				cout << "!" << i << endl;
			}		
		}
	}

	return 0;
}

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 1ms
memory: 3640kb

input:

1

output:

?1923

result:

wrong answer unexpected option: ?1923 (test case 1)