QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#287506#6256. Deck Randomisationlmq26052003WA 33ms4684kbC++202.7kb2023-12-20 18:07:042023-12-20 18:07:07

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 3412kb

input:

3
2 3 1
3 1 2

output:

2

result:

ok single line: '2'

Test #2:

score: 0
Accepted
time: 0ms
memory: 3412kb

input:

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

output:

5

result:

ok single line: '5'

Test #3:

score: 0
Accepted
time: 0ms
memory: 3468kb

input:

8
1 4 2 6 7 8 5 3
3 6 8 4 7 1 5 2

output:

10

result:

ok single line: '10'

Test #4:

score: -100
Wrong Answer
time: 33ms
memory: 4684kb

input:

100000
3579 88291 72914 52941 71563 36997 805 53539 87847 31762 62083 49901 40952 79578 7702 29574 4243 8890 20174 25838 43055 17844 90086 94709 20204 71003 42093 50724 57605 73490 57193 50830 66768 84400 31603 32471 23127 30429 42643 97110 84418 24927 89341 16047 37795 50780 55098 56830 28698 12114...

output:

2

result:

wrong answer 1st lines differ - expected: '199999', found: '2'