QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#166752#1282. NecklacewaifuSenpaiWA 1ms11768kbC++175.1kb2023-09-06 17:40:282023-09-06 17:40:28

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

4
4
1 1 1 1
1 2 3 4
4
1 1 2 2
1 2 3 4
8
2 6 5 4 3 1 7 7
-1 4 -1 2 10 -1 3 0
6
5 5 3 3 4 6
5 8 0 -1 -2 -7

output:

-1
4 2 3 1 
8 4 7 5 2 
2 4 1 3 

result:

wrong answer Integer 8 violates the range [1, 4]