QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#504182#1336. Non-Trivial Common DivisorHuangHanShengTL 25ms10864kbPython3871b2024-08-04 09:45:452024-08-04 09:45:45

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 6ms
memory: 10708kb

input:

6
1
2
3
4
5
6

output:

12

result:

ok answer is '12'

Test #2:

score: 0
Accepted
time: 11ms
memory: 10692kb

input:

3
173
1733
111733

output:

111733

result:

ok answer is '111733'

Test #3:

score: 0
Accepted
time: 14ms
memory: 10668kb

input:

4
1
1
1
1

output:

0

result:

ok answer is '0'

Test #4:

score: 0
Accepted
time: 25ms
memory: 10712kb

input:

10
999999999
999999999
999999999
999999999
999999999
999999999
999999999
999999999
999999999
999999999

output:

9999999990

result:

ok answer is '9999999990'

Test #5:

score: 0
Accepted
time: 15ms
memory: 10704kb

input:

1
999999999

output:

999999999

result:

ok answer is '999999999'

Test #6:

score: 0
Accepted
time: 14ms
memory: 10692kb

input:

10
28851
8842
9535
2311
25337
26467
12720
10561
8892
6435

output:

56898

result:

ok answer is '56898'

Test #7:

score: 0
Accepted
time: 7ms
memory: 10864kb

input:

3
12
3
19

output:

19

result:

ok answer is '19'

Test #8:

score: 0
Accepted
time: 14ms
memory: 10832kb

input:

10
20
20
9
10
20
5
1
19
20
4

output:

95

result:

ok answer is '95'

Test #9:

score: 0
Accepted
time: 5ms
memory: 10824kb

input:

5
3
13
2
11
4

output:

13

result:

ok answer is '13'

Test #10:

score: 0
Accepted
time: 14ms
memory: 10756kb

input:

2
9
12

output:

21

result:

ok answer is '21'

Test #11:

score: 0
Accepted
time: 14ms
memory: 10824kb

input:

2
12
18

output:

30

result:

ok answer is '30'

Test #12:

score: 0
Accepted
time: 14ms
memory: 10772kb

input:

8
19
1
17
17
19
13
11
9

output:

38

result:

ok answer is '38'

Test #13:

score: 0
Accepted
time: 11ms
memory: 10728kb

input:

4
12
16
9
6

output:

34

result:

ok answer is '34'

Test #14:

score: 0
Accepted
time: 11ms
memory: 10708kb

input:

7
15
18
1
16
9
12
6

output:

60

result:

ok answer is '60'

Test #15:

score: 0
Accepted
time: 6ms
memory: 10760kb

input:

3
9
2
19

output:

19

result:

ok answer is '19'

Test #16:

score: 0
Accepted
time: 4ms
memory: 10704kb

input:

7
14
7
8
7
8
5
14

output:

44

result:

ok answer is '44'

Test #17:

score: -100
Time Limit Exceeded

input:

957
522627804
400792198
220572477
772420713
949106732
867088911
850851737
541599109
310148807
481974581
792195677
311938108
460640026
450255324
569921314
278219751
888194392
422277480
438560464
86173934
738154829
149378290
781306443
290126418
910494332
432352620
69931343
257768620
296685964
11124460...

output:


result: