QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#744717#9748. 最大公因数的平方和firefox_123WA 2ms7908kbC++202.4kb2024-11-13 22:59:522024-11-13 22:59:58

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 2ms
memory: 7908kb

input:

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

output:

2
14
12
1
4

result:

ok 5 lines

Test #2:

score: -100
Wrong Answer
time: 2ms
memory: 6308kb

input:

1000
564 82 818 337 917 532 941 590 783 74 256 176 714 159 262 803 869 716 12 448 523 981 664 533 797 520 872 966 710 103 118 101 288 113 363 356 87 475 515 641 147 374 424 788 883 496 230 157 926 942 999 220 886 509 987 99 400 458 993 343 946 684 205 4 925 727 875 939 830 95 486 870 741 846 916 321...

output:

32749144
346131783
18959732
74295031
208743438
17177708
30463878
30978059
4292559813
26585932
24593729
199244715
28119234
9172177
4219610178
12812475
52379873
4268546987
4268728827
4287386744
4285621128
18997956
54393409
16427733
6895740
4283930177
76099871
49845831
3952928
176034204
35647844
959954...

result:

wrong answer 1st lines differ - expected: '21490984', found: '32749144'