UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#119055#1290. 子网掩码YaoXX1002ms1168kbC++11687b2020-09-13 10:45:062020-09-13 12:33:02

answer


详细

小提示:点击横条可展开更详细的信息

Test #1:

score: 25
Accepted
time: 1ms
memory: 1164kb

input:

192.168.0.1
255.255.255.0
3
192.168.0.2
192.168.0.254
192.168.1.2

output:

INNER
INNER
OUTER

result:

ok 3 lines

Test #2:

score: 25
Accepted
time: 0ms
memory: 1164kb

input:

192.168.1.1
255.255.255.0
3
192.168.0.2
192.168.0.254
192.168.1.2

output:

OUTER
OUTER
INNER

result:

ok 3 lines

Test #3:

score: 25
Accepted
time: 1ms
memory: 1168kb

input:

192.168.10.1
255.255.0.0
3
192.168.0.2
192.168.0.254
192.168.1.2

output:

INNER
INNER
INNER

result:

ok 3 lines

Test #4:

score: 25
Accepted
time: 0ms
memory: 1168kb

input:

192.168.0.1
255.255.255.128
3
192.168.0.2
192.168.0.254
192.168.172.2

output:

INNER
OUTER
OUTER

result:

ok 3 lines