QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#78963#2937. CIDRZhaoZiLongWA 2ms3516kbC++201.6kb2023-02-20 03:12:182023-02-20 03:12:21

详细

Test #1:

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

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

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

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: 3516kb

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

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: -100
Wrong Answer
time: 2ms
memory: 3504kb

input:

5
128.0.0.1
192.192.192.1
224.255.255.255
240.1.1.1
248.3.243.254

output:

32

result:

wrong answer 1st lines differ - expected: '1', found: '32'