QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#287511#6256. Deck Randomisationlmq26052003WA 41ms5180kbC++202.8kb2023-12-20 18:13:432023-12-20 18:13:44

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3
2 3 1
3 1 2

output:

2

result:

ok single line: '2'

Test #2:

score: 0
Accepted
time: 1ms
memory: 3460kb

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

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: 32ms
memory: 4960kb

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: 1ms
memory: 3424kb

input:

3
2 3 1
2 3 1

output:

3

result:

ok single line: '3'

Test #6:

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

input:

1
1
1

output:

1

result:

ok single line: '1'

Test #7:

score: 0
Accepted
time: 34ms
memory: 4924kb

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:

999999999999

result:

ok single line: '999999999999'

Test #8:

score: 0
Accepted
time: 29ms
memory: 4952kb

input:

100000
25973 37824 67053 56973 4331 76510 69708 82710 15468 27346 21484 24028 98043 23037 54673 56688 58661 49507 230 32090 90307 5548 13903 84069 93300 20539 9585 67982 34975 16557 61339 62628 19559 25420 4636 66942 74445 40139 56867 70900 50421 19431 57528 88782 89912 26983 70452 76236 70070 82967...

output:

24691

result:

ok single line: '24691'

Test #9:

score: 0
Accepted
time: 30ms
memory: 5180kb

input:

100000
89584 40440 82767 63944 37022 65779 22340 10327 21597 55271 5411 77841 82730 44188 66384 54644 29326 10646 31802 66277 94178 45308 60298 27207 30551 59019 29107 26519 2750 95437 20877 70822 41384 36434 46329 52953 47421 28148 82707 79107 51346 27572 21623 52873 22740 64975 6183 47363 2020 229...

output:

huge

result:

ok single line: 'huge'

Test #10:

score: -100
Wrong Answer
time: 41ms
memory: 4900kb

input:

100000
71906 59773 37202 15876 89320 13047 70090 61374 97295 53499 59413 66854 94074 10502 55724 67194 49000 1073 61380 41311 18039 25683 40213 56557 96700 6464 7889 80124 22904 47592 38486 13774 66270 24390 32135 74050 71858 28629 82485 99306 57997 71170 88883 23605 53589 24674 6689 63157 88506 557...

output:

-876351280422591228

result:

wrong answer 1st lines differ - expected: 'huge', found: '-876351280422591228'