QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#206856#7565. Harumachi Kazeucup-team1878#TL 1ms3532kbC++2313.1kb2023-10-07 23:21:592023-10-07 23:21:59

详细

Test #1:

score: 100
Accepted
time: 1ms
memory: 3532kb

input:

2 3 2
288230376151711744 864691128455135232
1441151880758558720 2017612633061982208
2 3
1 2 2 2594073385365405696
2 3

output:

! 2
1441151880758558720 1441151880758558720

result:

ok 2 lines

Test #2:

score: 0
Accepted
time: 1ms
memory: 3424kb

input:

3 5 3
2017612633061982208 864691128455135232 2305843009213693952
1441151880758558720 2017612633061982208 288230376151711744
2 5
2 2
1 1 3 1729382256910270464
1 2 1 2017612633061982208
2 5

output:

! 3
3746994889972252672 2017612633061982208 4323455642275676160

result:

ok 2 lines

Test #3:

score: -100
Time Limit Exceeded

input:

16000 20000 14
12381691541923575949 2314459967875656919 15240288079556723088 320873566057825844 1013209648229540810 17538037439317817183 11476444495745028170 14967174865083701448 17232652930598276562 7175999203534983334 4597650078600036201 13978217693115848142 17682091621678261784 488328147143975490...

output:


result: