QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#600422#8837. Increasing IncomexydCatGirl#WA 0ms3680kbC++14413b2024-09-29 16:26:102024-09-29 16:26:11

Judging History

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

  • [2024-09-29 16:26:11]
  • 评测
  • 测评结果:WA
  • 用时:0ms
  • 内存:3680kb
  • [2024-09-29 16:26:10]
  • 提交

answer

#include <bits/stdc++.h>

using i64 = long long;

constexpr int N = 2e5 + 5;

int T, n;
int p[N], q[N];

void solve() {
	std::cin >> n;
	for (int i = 1; i <= n; i++) std::cin >> p[i], q[p[i]] = i;
	for (int i = 1; i <= n; i++) std::cout << q[i] << " \n"[i == n];
}

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

	std::cin >> T;
	while (T--) solve();

	return 0;
}

详细

Test #1:

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

input:

3
3
1 2 3
4
2 4 3 1
5
1 5 2 4 3

output:

1 2 3
4 1 3 2
1 3 5 4 2

result:

wrong answer Jury found better answer than participant (test case 2)