QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#78884#2937. CIDRMaMengQiWA 2ms3512kbC++201.6kb2023-02-20 02:49:452023-02-20 02:49:46

详细

Test #1:

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

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

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

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

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

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

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'