QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#79277#2937. CIDRHuangHanShengTL 19ms7300kbPython21.3kb2023-02-20 05:19:072023-02-20 05:19:13

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 16ms
memory: 7188kb

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: 19ms
memory: 7272kb

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: 12ms
memory: 7144kb

input:

2
127.0.0.1
127.0.0.53

output:

26

result:

ok single line: '26'

Test #4:

score: 0
Accepted
time: 2ms
memory: 7300kb

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: 8ms
memory: 7188kb

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: 12ms
memory: 7076kb

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: