QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#471914#5504. Flower GardenMaMengQiRE 0ms39008kbC++174.6kb2024-07-11 11:27:102024-07-11 11:27:14

详细

Test #1:

score: 100
Accepted
time: 0ms
memory: 39008kb

input:

2
1 3
1 1 2 2
1 2 3 3
1 1 3 3
1 3
1 1 2 2
2 2 3 3
3 3 1 1

output:

TAK
RRF
NIE

result:

ok good!

Test #2:

score: -100
Runtime Error

input:

10
33333 100000
28701 40192 93418 95143
95902 97908 78378 78461
36823 44196 22268 23996
23977 24786 33315 48829
83965 90411 4923 8445
20235 21177 32543 47454
29598 35414 72477 73049
2014 12632 42163 46466
64305 65518 98825 99552
32331 41625 92772 96224
26500 54122 76990 77126
18249 20335 31165 36080...

output:


result: