QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#78918#2937. CIDRMaMengQiTL 18ms8072kbPython3518b2023-02-20 02:58:212023-02-20 02:58:23

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 11ms
memory: 8020kb

input:

4
10.0.0.1
10.0.0.24
10.0.0.8
10.0.0.16

output:

27

result:

ok single line: '27'

Test #2:

score: 0
Accepted
time: 9ms
memory: 7976kb

input:

5
10.0.0.1
10.0.0.24
10.0.0.8
10.1.0.1
10.0.0.16

output:

15

result:

ok single line: '15'

Test #3:

score: 0
Accepted
time: 13ms
memory: 7956kb

input:

2
127.0.0.1
127.0.0.53

output:

26

result:

ok single line: '26'

Test #4:

score: 0
Accepted
time: 18ms
memory: 7972kb

input:

3
0.0.0.128
0.0.0.3
0.0.128.5

output:

16

result:

ok single line: '16'

Test #5:

score: 0
Accepted
time: 13ms
memory: 8072kb

input:

5
123.123.123.123
123.123.123.123
123.123.123.123
123.123.123.123
123.123.123.123

output:

32

result:

ok single line: '32'

Test #6:

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

input:

5
128.0.0.1
192.192.192.1
224.255.255.255
240.1.1.1
248.3.243.254

output:

1

result:

ok single line: '1'

Test #7:

score: -100
Time Limit Exceeded

input:

65535
103.123.35.198
103.60.152.105
103.51.72.115
103.176.220.81
103.73.92.255
103.232.148.74
103.85.88.236
103.142.31.41
103.232.124.205
103.27.88.186
103.126.215.171
103.177.65.242
103.183.30.251
103.226.169.227
103.69.225.70
103.95.0.124
103.208.98.194
103.32.8.84
103.177.39.248
103.22.35.27
103....

output:


result: