QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#118881#6374. LaLa and Magic Circle (LiLi Version)crescentWA 5ms1744kbC++14758b2023-07-04 14:52:352023-07-04 14:52:36

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 5ms
memory: 1744kb

input:



output:

1000
0 0
1 1
3 5
6 14
10 30
15 55
21 91
28 140
36 204
45 285
55 385
66 506
78 650
91 819
105 1015
120 1240
136 1496
153 1785
171 2109
190 2470
210 2870
231 3311
253 3795
276 4324
300 4900
325 5525
351 6201
378 6930
406 7714
435 8555
465 9455
496 10416
528 11440
561 12529
595 13685
630 14910
666 1620...

result:

wrong answer Points in the p-q must not be on the boundary of the convex hull