UOJ Logo

NOI.AC

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#110904#1280. 和为TTom10055ms516kbC++11584b2020-07-02 20:09:562020-07-02 20:09:57

answer


Details

小提示:点击横条可展开更详细的信息

Test #1:

score: 10
Accepted
time: 0ms
memory: 512kb

input:

14
-14227947 -47561717 30883202 14894684 -23967456 36490488 37453142 4817899 -41609802 -23815737 -26...

output:

30883202 14894684 4817899 -23815737 3940457 -32787052 
1

result:

ok 2 lines

Test #2:

score: 10
Accepted
time: 0ms
memory: 508kb

input:

10
34171216 49886640 -11822686 -29244107 30240312 -33544989 -5621357 -45216087 11416981 -34425606
21...

output:

49886640 -5621357 11416981 -34425606 
1

result:

ok 2 lines

Test #3:

score: 10
Accepted
time: 20ms
memory: 508kb

input:

22
-44413591 -3555549 48716348 49446982 2034678 42103409 12852751 7730478 -9356052 -44907844 8573474...

output:

0

result:

ok single line: '0'

Test #4:

score: 10
Accepted
time: 15ms
memory: 512kb

input:

22
-256126 -8395732 -42865009 -2177241 35770790 9969083 -49086764 -33745575 -13938646 26776474 41127...

output:

-256126 -42865009 9969083 -49086764 -33745575 -13938646 41127874 30193665 5121317 -6429053 -22579608...

result:

ok 2 lines

Test #5:

score: 10
Accepted
time: 2ms
memory: 508kb

input:

20
39014665 27032336 -14007845 -15297842 -26404877 43620626 -35560645 -9251622 -49282056 -32576289 2...

output:

39014665 -14007845 -15297842 -35560645 -9251622 -7223880 -44540135 1438679 47641489 
1

result:

ok 2 lines

Test #6:

score: 10
Accepted
time: 0ms
memory: 508kb

input:

18
24270767 41384910 2719572 -22922528 -46155281 26567665 -8614422 14307371 -38990559 21624944 36887...

output:

24270767 -22922528 26567665 -38990559 21624944 -30676487 11198692 -24287433 34137871 
1

result:

ok 2 lines

Test #7:

score: 10
Accepted
time: 18ms
memory: 516kb

input:

22
1 -1 2 -2 4 -4 8 -8 16 -16 32 -32 64 -64 128 -128 256 -512 512 -1024 -256 1024
0

output:

1 -1 
2 -2 
1 -1 2 -2 
4 -4 
1 -1 4 -4 
2 -2 4 -4 
1 -1 2 -2 4 -4 
8 -8 
1 -1 8 -8 
2 -2 8 -8 
1 -1 ...

result:

ok 2048 lines

Test #8:

score: 10
Accepted
time: 0ms
memory: 512kb

input:

5
-7 -3 -2 5 9
0

output:

-3 -2 5 
-7 -2 9 
2

result:

ok 3 lines

Test #9:

score: 10
Accepted
time: 0ms
memory: 512kb

input:

5
-12236073 11684647 15439213 -5267354 11902288
-12236073
1

output:

-12236073 
1

result:

ok 2 lines

Test #10:

score: 10
Accepted
time: 0ms
memory: 508kb

input:

5
-26769997 -4085711 49415558 -48708077 3235164
-79563785
11

output:

-26769997 -4085711 -48708077 
1

result:

ok 2 lines