QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#287492#6256. Deck Randomisationlmq26052003WA 35ms4748kbC++202.7kb2023-12-20 17:39:302023-12-20 17:39:30

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 3576kb

input:

3
2 3 1
3 1 2

output:

2

result:

ok single line: '2'

Test #2:

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

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: 3576kb

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: 0
Accepted
time: 35ms
memory: 4748kb

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:

199999

result:

ok single line: '199999'

Test #5:

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

input:

3
2 3 1
2 3 1

output:

3

result:

ok single line: '3'

Test #6:

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

input:

1
1
1

output:

1

result:

ok single line: '1'

Test #7:

score: -100
Wrong Answer
time: 34ms
memory: 4580kb

input:

100000
36570 54476 88856 18970 98842 52271 51747 78828 25681 75300 18197 27262 63840 54184 58777 21907 51270 5097 57777 28111 63073 73699 69757 41713 70600 84384 8683 64033 43647 4438 42029 72101 71035 70442 16316 52611 56678 84611 28731 44331 10051 1449 26820 58460 83797 22780 51171 13691 85995 611...

output:

1493241479

result:

wrong answer 1st lines differ - expected: '999999999999', found: '1493241479'