QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#615363#5649. Spinach PizzaGuanYunchangWA 1ms3860kbC++1712.7kb2024-10-05 18:16:062024-10-05 18:16:06

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

4
0 0
6 1
5 3
1 4
4

output:

Alberto
3

result:

ok they win, their_area 7 <= our_area 23. Used strategy 0

Test #2:

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

input:

6
0 0
2 0
3 2
2 4
0 4
-1 2
2
5

output:

Alberto
6
4

result:

ok they win, their_area 8 <= our_area 16. Used strategy 0

Test #3:

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

input:

7
0 0
2 0
5 2
4 5
1 5
-1 4
-1 2
7
2
6

output:

Beatrice
5
4

result:

ok they win, their_area 19 <= our_area 28. Used strategy 0

Test #4:

score: 0
Accepted
time: 0ms
memory: 3860kb

input:

10
-96 -90
39 -96
64 -95
92 -39
95 76
10 96
-53 75
-80 55
-84 40
-93 -24
2
7
6
5

output:

Alberto
9
10
4
8

result:

ok they win, their_area 28833 <= our_area 33778. Used strategy 0

Test #5:

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

input:

8
-195 -20
-123 -172
178 -192
196 78
189 133
80 154
-147 197
-188 118
4
1
7

output:

Alberto
6
8
3

result:

ok they win, their_area 103230 <= our_area 148248. Used strategy 0

Test #6:

score: -100
Wrong Answer
time: 0ms
memory: 3636kb

input:

100
0 0
1 1
2 3
3 6
4 10
5 15
6 21
7 28
8 36
9 45
10 55
11 66
12 78
13 91
14 105
15 120
16 136
17 153
18 171
19 190
20 210
21 231
22 253
23 276
24 300
25 325
26 351
27 378
28 406
29 435
30 465
31 496
32 528
33 561
34 595
35 630
36 666
37 703
38 741
39 780
40 820
41 861
42 903
43 946
44 990
45 1035
4...

output:

Alberto
99
97
95
93
91
89
87
85
83
81
79
77
75
73
71
69
67
65
63
61
59
57
55
53
51
98
94
90
86
82
78
74
70
66
62
58
54
52
96
88
80
72
64
56
1
92
41
17
84

result:

wrong answer they lose, their_area 119613 > our_area 42087. Used strategy 0