UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#119038#1290. 子网掩码xqy20071000ms1248kbC++904b2020-09-13 09:14:572020-09-13 12:32:05

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

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

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

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