QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#500643#859. Civilizationsucup-team1005#TL 7ms55428kbC++203.6kb2024-08-01 16:56:442024-08-01 16:56:46

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 7ms
memory: 55428kb

input:

1
2
1 2
3 4
1 1
2 2
6
2 2 1 1 -1 0
1 2 2 1 2 -1
2 1 3 0 1 -1
1 2 3 2 0 0
1 1 3 1 1 1
2 2 3 -1 -1 -1

output:

5 -7 -2 10 20 -10 

result:

ok 6 numbers

Test #2:

score: -100
Time Limit Exceeded

input:

5000
13
58 69 -65 -29 -100 3 26 -29 73 -29 -93 33 73
-77 -76 69 19 -77 -61 59 -15 85 81 -20 73 72
60 -46 -100 -59 -79 -74 -94 41 -24 -28 -5 36 70
-49 -59 -11 44 26 38 -73 92 -16 -37 -84 86 90
-19 9 -30 19 -24 88 46 -80 98 -75 14 -77 55
-41 22 -71 -75 78 -97 9 -99 95 30 41 -30 72
-31 -15 14 99 -98 -1...

output:

4858124655244 4116944888010 -39 -52 -133483614660 -654914122190 5375414674673 4311338738670 657858206350 -1734733087386 -1327605653409 -936153880944 -240658371483 -1515017821703 5972510780523 7601964158105 -296 1927119587684 1798585087108 6418628739724 4708567589766 9593927960136 10133277589118 7362...

result: