QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#419107#6521. Swapping Operation2yh_Z77#WA 78ms4004kbC++142.4kb2024-05-23 17:55:592024-05-23 17:56:00

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: 78ms
memory: 4004kb

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:

803046221
923642535
850601479
963497255
906186590
793777275
979836345
706192264
973791353
706782358
827522535
818694405
494498965
917264022
981686922
796332342
778769257
989181315
729655322
863912714
962075805
934333526
924124296
934203874
971937793
918136308
977368039
964216486
551789116
599277840
...

result:

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