QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#278094#6879. TeyberrsMaMengQiML 0ms0kbC++233.3kb2023-12-07 11:58:142023-12-07 11:58:14

詳細信息

Test #1:

score: 0
Memory Limit Exceeded

input:

195
1000 1000 390
165421182 830456752 1 1000
629019981 620808876 1 1000
62707726 251768991 1 1000
844654415 296391973 1 1000
836363753 361815634 1 1000
642057941 223752937 1 1000
527067969 5380815 1 1000
450406115 259514303 1 1000
24141454 47050814 1 1000
43169027 396162770 1 1000
251099657 45559691...

output:

92752413572
148125233324
-1
-1
88499313425
233473977168
-1
238802954522
143738626894
107917385972
-1
-1
-1
-1
-1
284051155851
-1
-1
169514189469
-1
-1
-1
-1
-1
-1
302793061319
-1
321552962401
-1
303271376461
-1
-1
60964760583
-1
-1
-1
-1
-1
49596109472
192661061222
173094083467
-1
125418958455
-1
-1...

result: