QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#79173#2937. CIDRMaMengQiTL 14ms8100kbPython3561b2023-02-20 04:29:012023-02-20 04:29:03

詳細信息

Test #1:

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

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: 10ms
memory: 8004kb

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: 14ms
memory: 7980kb

input:

2
127.0.0.1
127.0.0.53

output:

26

result:

ok single line: '26'

Test #4:

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

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: 10ms
memory: 8004kb

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

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: