QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#419471#8713. 不要玩弄字符串ucup-team1005#WA 2335ms82792kbC++201.8kb2024-05-23 22:58:252024-05-23 22:58:26

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3
11 1
0 2
000 3
2
0
1

output:

-1
3

result:

ok 2 number(s): "-1 3"

Test #2:

score: 0
Accepted
time: 2322ms
memory: 82792kb

input:

18
111101 -31301
1101101 53902
101001 77190
1000110 -26277
01010 84183
0111001 -89769
100100 31681
00101 -33612
00101000 -25238
00111 -93542
0001101 45298
01100010 63521
11001001 84789
001011 89827
11010101 -12647
01011100 18677
010100 174
10011111 -73155
524286
0
1
00
10
01
11
000
100
010
110
001
1...

output:

0
0
0
0
0
0
0
0
0
0
0
77190
0
0
0
0
0
0
0
-77190
0
0
0
0
84183
77190
0
0
0
0
0
0
0
0
0
77190
0
0
0
31681
0
-77190
0
0
0
0
0
26277
0
53108
89827
84183
77190
77190
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
77190
77190
0
0
0
0
0
0
31681
-53108
0
0
-77190
-77190
0
0
0
0
0
0
0
0
0
0
26277
26277
0
0
53108
53108...

result:

ok 524286 numbers

Test #3:

score: -100
Wrong Answer
time: 2335ms
memory: 51024kb

input:

18
01 3
000 13
100 9
011 1
0101 6
0011 16
0100 12
0111 10
00100 15
1110 2
011111 18
100100 6
1010001 8
10101100 3
1001000 9
00100001 12
001100 8
10111111 2
524286
0
1
00
10
01
11
000
100
010
110
001
101
011
111
0000
1000
0100
1100
0010
1010
0110
1110
0001
1001
0101
1101
0011
1011
0111
1111
00000
100...

output:

17
0
10
17
-14
0
3
13
14
17
0
-14
17
0
3
0
13
13
20
14
14
18
0
9
-8
-14
17
17
-7
0
3
0
0
0
16
13
13
13
33
8
8
14
17
14
9
18
0
9
9
9
-8
-8
-14
-15
17
8
16
17
-7
-7
16
0
3
0
0
0
-3
0
0
0
3
25
13
13
8
13
13
13
33
24
6
8
8
8
14
15
17
8
8
14
9
9
9
18
0
9
9
9
9
9
8
7
-16
0
-8
-8
-17
-14
-9
-15
17
8
8
8
16...

result:

wrong answer 1st numbers differ - expected: '10', found: '17'