QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#470454#4783. 神秘货币oolimry0 1ms4072kbC++14784b2024-07-10 13:54:262024-07-10 13:54:27

Judging History

你现在查看的是最新测评结果

  • [2024-07-10 13:54:27]
  • 评测
  • 测评结果:0
  • 用时:1ms
  • 内存:4072kb
  • [2024-07-10 13:54:26]
  • 提交

answer

#include "currency.h"

#include <bits/stdc++.h>
using namespace std;
#define sz(x) (int) (x).size()
#define all(x) (x).begin(), (x).end()
#define show(x) cerr << #x << " is " << x << endl;
#define show2(x,y) cerr << #x << " is " << x << " " << #y << " is " << y << endl;
#define show3(x,y,z) cerr << #x << " is " << x << " " << #y << " is " << y << " " << #z << " is " << z << endl;
#define showlist(x) cerr << #x << " is "; for(auto p : x) cerr << p << " "; cerr << endl;
typedef long long lint;
typedef pair<int,int> ii;

void solve(int type){
	if(type == 4){
		vector<int> v;
		for(int i = 1;i <= 1000;i++){
			if(query(i)) v.push_back(i);
		}
		
		int n = v.size();
		int ans[n] = {};
		for(int i = 0;i < n;i++) ans[i] = v[i];
		
		answer(n, ans);
	}
}

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 0
Wrong Answer
time: 0ms
memory: 3564kb

input:

1

output:


result:

wrong answer Error: Invalid interaction

Subtask #2:

score: 0
Wrong Answer

Test #6:

score: 0
Wrong Answer
time: 0ms
memory: 3924kb

input:

2

output:


result:

wrong answer Error: Invalid interaction

Subtask #3:

score: 0
Wrong Answer

Test #36:

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

input:

3

output:


result:

wrong answer Error: Invalid interaction

Subtask #4:

score: 0
Wrong Answer

Test #56:

score: 0
Wrong Answer
time: 0ms
memory: 4072kb

input:

4
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
...

output:

Q 1
Q 2
Q 3
Q 4
Q 5
Q 6
Q 7
Q 8
Q 9
Q 10
Q 11
Q 12
Q 13
Q 14
Q 15
Q 16
Q 17
Q 18
Q 19
Q 20
Q 21
Q 22
Q 23
Q 24
Q 25
Q 26
Q 27
Q 28
Q 29
Q 30
Q 31
Q 32
Q 33
Q 34
Q 35
Q 36
Q 37
Q 38
Q 39
Q 40
Q 41
Q 42
Q 43
Q 44
Q 45
Q 46
Q 47
Q 48
Q 49
Q 50
Q 51
Q 52
Q 53
Q 54
Q 55
Q 56
Q 57
Q 58
Q 59
Q 60
Q 61
Q 62...

result:

wrong answer Error: answer_n must between 1 and 1e2

Subtask #5:

score: 0
Wrong Answer

Test #71:

score: 0
Wrong Answer
time: 0ms
memory: 3572kb

input:

5

output:


result:

wrong answer Error: Invalid interaction

Subtask #6:

score: 0
Wrong Answer

Test #86:

score: 0
Wrong Answer
time: 0ms
memory: 3596kb

input:

6

output:


result:

wrong answer Error: Invalid interaction