QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#460930#6879. TeyberrsZhangYiDeRE 0ms0kbC++172.6kb2024-07-02 13:43:012024-07-02 13:43:02

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Runtime Error

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:

128144207002
258687774606
-1
-1
102740785277
245546813427
-1
337584942607
206767188433
189124118877
-1
-1
-1
-1
-1
368579398950
-1
-1
206936517431
-1
-1
-1
-1
-1
-1
307025498958
-1
535946922060
-1
443223852797
-1
-1
64387608037
-1
-1
-1
-1
-1
66736318546
236016327181
226881553751
-1
239600075318
-1
...

result: