QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#278041#6875. Chaos BeginMaMengQiAC ✓285ms10612kbC++232.5kb2023-12-07 11:03:292023-12-07 11:03:30

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 285ms
memory: 10612kb

input:

100
1
828748 -4793083
-4304195 -5463593
3
237233 -4112155
8020574 8746231
435013 -5934194
-864201 -1891603
1536447 -8154746
9319788 4703640
2
-8647149 5511912
94771 -4903783
8836691 -15319478
94771 -4903783
2
4374481 1876187
8834277 -13370279
6604379 -5747046
6604379 -5747046
2
274825 17829398
-4517...

output:

2
-5132943 -670510
5132943 670510
2
-1299214 4042591
1299214 -4042591
2
-8741920 10415695
8741920 -10415695
2
-2229898 7623233
2229898 -7623233
2
-2396328 -13627890
2396328 13627890
2
-6349453 -7699267
6349453 7699267
2
-6444872 4551651
6444872 -4551651
2
-8530514 4791752
8530514 -4791752
2
-8966722...

result:

ok 299 lines