QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#491812#6521. Swapping OperationCirno#WA 27ms3736kbC++141.4kb2024-07-25 22:45:362024-07-25 22:45:36

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

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

output:

7
3
3

result:

ok 3 number(s): "7 3 3"

Test #2:

score: -100
Wrong Answer
time: 27ms
memory: 3700kb

input:

1000
100
803046221 177233942 164782937 53823867 383853667 250036100 888743479 576687945 737272231 801579441 647643785 393059353 401516062 663466861 308544510 825328494 162739603 501761995 570908380 655227403 444493122 844535039 208303132 493226172 421479971 634680694 396627047 787471115 335787136 16...

output:

890299519
923642535
974851056
963497255
947197786
923065154
979836345
873155382
973791353
952811238
920223968
969979000
884438021
920862177
981686922
827513928
988685740
989181315
995915998
863912714
968789214
934333526
936744866
964130484
991166895
918136308
977368039
980800625
960770411
973760189
...

result:

wrong answer 1st numbers differ - expected: '999397418', found: '890299519'