UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#119063#1290. 子网掩码Tom1000ms1244kbC++111.2kb2020-09-13 11:11:292020-09-13 12:33:25

answer


详细

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

Test #1:

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

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

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

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

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