답안 #385539

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
385539 2021-04-04T14:39:51 Z The_Bitch Jelly Flavours (IOI20_jelly) C++14
35 / 100
1784 ms 579452 KB
//#define int long long
#include "jelly.h"
#include <bits/stdc++.h>
#define pb push_back
#define F first
#define S second
using namespace std;
const int N=1e6,M=1e4;
int mem[203][600][600];
long long minn=1e18,mux=-1e18;
int n,x,y;
vector<int> a,b;

int dp(int i,int x,int y){

    if(i==n)return 0;

    if(mem[i][x][y]!=-1)
            return mem[i][x][y];

    if(x>=a[i]&&y>=b[i])
        return mem[i][x][y]=max({dp(i+1,x-a[i],y)+1,dp(i+1,x,y-b[i])+1,dp(i+1,x,y)});

    else if(x>=a[i]&&y<b[i])
        return mem[i][x][y]=max(dp(i+1,x-a[i],y)+1,dp(i+1,x,y));

    else if(x<a[i]&&y>=b[i])
        return mem[i][x][y]=max(dp(i+1,x,y-b[i])+1,dp(i+1,x,y));

    else return mem[i][x][y]=dp(i+1,x,y);
}

int find_maximum_unique(int x, int y, std::vector<int> a2, std::vector<int> b2) {

	n = a2.size();
    a = a2,b = b2;

    for(int i=0;i<n+2;i++)
        for(int j=0;j<x+2;j++)
            for(int k=0;k<y+2;k++)
                mem[i][j][k]=-1;

    return dp(0,x,y);
}

vector<int>a1,b1;

/*
int main() {
    assert(scanf("%d %d %d", &n, &x, &y) == 3);
    a1.resize(n);
    b1.resize(n);
    for (int i = 0; i < n; i++) {
        assert(scanf("%d %d", &a1[i], &b1[i]) == 2);
    }

    fclose(stdin);

    int answer = find_maximum_unique(x, y, a1, b1);

    printf("%d\n", answer);
}
*/

# 결과 실행 시간 메모리 Grader output
1 Correct 8 ms 13164 KB Output is correct
2 Correct 8 ms 11756 KB Output is correct
3 Correct 8 ms 12140 KB Output is correct
4 Correct 13 ms 14956 KB Output is correct
5 Correct 10 ms 13184 KB Output is correct
6 Correct 9 ms 10476 KB Output is correct
7 Correct 10 ms 14444 KB Output is correct
8 Correct 7 ms 11116 KB Output is correct
9 Correct 9 ms 13164 KB Output is correct
10 Correct 12 ms 14828 KB Output is correct
11 Correct 7 ms 11244 KB Output is correct
12 Correct 9 ms 13164 KB Output is correct
13 Correct 8 ms 11756 KB Output is correct
14 Correct 8 ms 12140 KB Output is correct
15 Correct 13 ms 14956 KB Output is correct
16 Correct 9 ms 13036 KB Output is correct
17 Correct 8 ms 10476 KB Output is correct
18 Correct 12 ms 14444 KB Output is correct
19 Correct 8 ms 11116 KB Output is correct
20 Correct 10 ms 13164 KB Output is correct
21 Correct 3 ms 3052 KB Output is correct
22 Correct 12 ms 14700 KB Output is correct
23 Correct 3 ms 3052 KB Output is correct
24 Correct 1 ms 364 KB Output is correct
25 Correct 3 ms 2156 KB Output is correct
26 Correct 2 ms 1900 KB Output is correct
27 Correct 2 ms 1388 KB Output is correct
28 Correct 3 ms 3052 KB Output is correct
29 Correct 9 ms 14956 KB Output is correct
30 Correct 7 ms 11628 KB Output is correct
31 Correct 9 ms 14060 KB Output is correct
32 Correct 1 ms 364 KB Output is correct
33 Correct 2 ms 2156 KB Output is correct
34 Correct 2 ms 1900 KB Output is correct
35 Correct 2 ms 1388 KB Output is correct
36 Correct 3 ms 3052 KB Output is correct
37 Correct 9 ms 14956 KB Output is correct
38 Correct 7 ms 11628 KB Output is correct
39 Correct 9 ms 14060 KB Output is correct
40 Correct 7 ms 11244 KB Output is correct
41 Correct 8 ms 13164 KB Output is correct
42 Correct 9 ms 11884 KB Output is correct
43 Correct 8 ms 12140 KB Output is correct
44 Correct 13 ms 14956 KB Output is correct
45 Correct 9 ms 13036 KB Output is correct
46 Correct 8 ms 10476 KB Output is correct
47 Correct 10 ms 14444 KB Output is correct
48 Correct 8 ms 11116 KB Output is correct
49 Correct 9 ms 13164 KB Output is correct
50 Correct 12 ms 14700 KB Output is correct
51 Correct 3 ms 3052 KB Output is correct
52 Correct 1 ms 364 KB Output is correct
53 Correct 2 ms 2156 KB Output is correct
54 Correct 2 ms 1900 KB Output is correct
55 Correct 2 ms 1388 KB Output is correct
56 Correct 3 ms 3052 KB Output is correct
57 Correct 9 ms 14956 KB Output is correct
58 Correct 7 ms 11628 KB Output is correct
59 Correct 9 ms 14060 KB Output is correct
60 Correct 7 ms 11264 KB Output is correct
61 Correct 9 ms 13312 KB Output is correct
62 Correct 8 ms 11756 KB Output is correct
63 Correct 9 ms 12168 KB Output is correct
64 Correct 13 ms 14956 KB Output is correct
65 Correct 10 ms 13036 KB Output is correct
66 Correct 7 ms 10476 KB Output is correct
67 Correct 10 ms 14444 KB Output is correct
68 Correct 8 ms 11116 KB Output is correct
69 Correct 9 ms 13164 KB Output is correct
70 Correct 12 ms 14700 KB Output is correct
71 Correct 3 ms 3052 KB Output is correct
72 Correct 1 ms 364 KB Output is correct
73 Correct 2 ms 2156 KB Output is correct
74 Correct 2 ms 1916 KB Output is correct
75 Correct 2 ms 1388 KB Output is correct
76 Correct 3 ms 3052 KB Output is correct
77 Correct 9 ms 14956 KB Output is correct
78 Correct 7 ms 11628 KB Output is correct
79 Correct 9 ms 14060 KB Output is correct
80 Correct 7 ms 11244 KB Output is correct
81 Correct 8 ms 13164 KB Output is correct
82 Correct 8 ms 11756 KB Output is correct
83 Correct 8 ms 12140 KB Output is correct
84 Correct 13 ms 14956 KB Output is correct
85 Correct 9 ms 13036 KB Output is correct
86 Correct 7 ms 10476 KB Output is correct
87 Correct 10 ms 14536 KB Output is correct
88 Correct 8 ms 11116 KB Output is correct
89 Correct 9 ms 13164 KB Output is correct
90 Correct 12 ms 14700 KB Output is correct
91 Correct 3 ms 3052 KB Output is correct
92 Correct 1 ms 364 KB Output is correct
93 Correct 2 ms 2156 KB Output is correct
94 Correct 2 ms 1900 KB Output is correct
95 Correct 2 ms 1388 KB Output is correct
96 Correct 3 ms 3052 KB Output is correct
97 Correct 9 ms 14956 KB Output is correct
98 Correct 7 ms 11628 KB Output is correct
99 Correct 9 ms 14060 KB Output is correct
100 Correct 7 ms 11244 KB Output is correct
101 Correct 8 ms 13164 KB Output is correct
102 Correct 8 ms 11756 KB Output is correct
103 Correct 8 ms 12140 KB Output is correct
104 Correct 13 ms 14956 KB Output is correct
105 Correct 9 ms 13036 KB Output is correct
106 Correct 7 ms 10476 KB Output is correct
107 Correct 10 ms 14444 KB Output is correct
108 Correct 8 ms 11116 KB Output is correct
109 Correct 9 ms 13164 KB Output is correct
110 Correct 12 ms 14700 KB Output is correct
111 Correct 3 ms 3052 KB Output is correct
112 Correct 1 ms 364 KB Output is correct
113 Correct 2 ms 2156 KB Output is correct
114 Correct 2 ms 1900 KB Output is correct
115 Correct 2 ms 1388 KB Output is correct
116 Correct 3 ms 3052 KB Output is correct
117 Correct 9 ms 14956 KB Output is correct
118 Correct 7 ms 11628 KB Output is correct
119 Correct 9 ms 14060 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 8 ms 13164 KB Output is correct
2 Correct 8 ms 11756 KB Output is correct
3 Correct 8 ms 12140 KB Output is correct
4 Correct 13 ms 14956 KB Output is correct
5 Correct 10 ms 13184 KB Output is correct
6 Correct 9 ms 10476 KB Output is correct
7 Correct 10 ms 14444 KB Output is correct
8 Correct 7 ms 11116 KB Output is correct
9 Correct 9 ms 13164 KB Output is correct
10 Correct 12 ms 14828 KB Output is correct
11 Correct 7 ms 11244 KB Output is correct
12 Correct 9 ms 13164 KB Output is correct
13 Correct 8 ms 11756 KB Output is correct
14 Correct 8 ms 12140 KB Output is correct
15 Correct 13 ms 14956 KB Output is correct
16 Correct 9 ms 13036 KB Output is correct
17 Correct 8 ms 10476 KB Output is correct
18 Correct 12 ms 14444 KB Output is correct
19 Correct 8 ms 11116 KB Output is correct
20 Correct 10 ms 13164 KB Output is correct
21 Correct 3 ms 3052 KB Output is correct
22 Correct 12 ms 14700 KB Output is correct
23 Correct 3 ms 3052 KB Output is correct
24 Correct 1 ms 364 KB Output is correct
25 Correct 3 ms 2156 KB Output is correct
26 Correct 2 ms 1900 KB Output is correct
27 Correct 2 ms 1388 KB Output is correct
28 Correct 3 ms 3052 KB Output is correct
29 Correct 9 ms 14956 KB Output is correct
30 Correct 7 ms 11628 KB Output is correct
31 Correct 9 ms 14060 KB Output is correct
32 Correct 1 ms 364 KB Output is correct
33 Correct 2 ms 2156 KB Output is correct
34 Correct 2 ms 1900 KB Output is correct
35 Correct 2 ms 1388 KB Output is correct
36 Correct 3 ms 3052 KB Output is correct
37 Correct 9 ms 14956 KB Output is correct
38 Correct 7 ms 11628 KB Output is correct
39 Correct 9 ms 14060 KB Output is correct
40 Correct 7 ms 11244 KB Output is correct
41 Correct 8 ms 13164 KB Output is correct
42 Correct 9 ms 11884 KB Output is correct
43 Correct 8 ms 12140 KB Output is correct
44 Correct 13 ms 14956 KB Output is correct
45 Correct 9 ms 13036 KB Output is correct
46 Correct 8 ms 10476 KB Output is correct
47 Correct 10 ms 14444 KB Output is correct
48 Correct 8 ms 11116 KB Output is correct
49 Correct 9 ms 13164 KB Output is correct
50 Correct 12 ms 14700 KB Output is correct
51 Correct 3 ms 3052 KB Output is correct
52 Correct 1 ms 364 KB Output is correct
53 Correct 2 ms 2156 KB Output is correct
54 Correct 2 ms 1900 KB Output is correct
55 Correct 2 ms 1388 KB Output is correct
56 Correct 3 ms 3052 KB Output is correct
57 Correct 9 ms 14956 KB Output is correct
58 Correct 7 ms 11628 KB Output is correct
59 Correct 9 ms 14060 KB Output is correct
60 Correct 7 ms 11264 KB Output is correct
61 Correct 9 ms 13312 KB Output is correct
62 Correct 8 ms 11756 KB Output is correct
63 Correct 9 ms 12168 KB Output is correct
64 Correct 13 ms 14956 KB Output is correct
65 Correct 10 ms 13036 KB Output is correct
66 Correct 7 ms 10476 KB Output is correct
67 Correct 10 ms 14444 KB Output is correct
68 Correct 8 ms 11116 KB Output is correct
69 Correct 9 ms 13164 KB Output is correct
70 Correct 12 ms 14700 KB Output is correct
71 Correct 3 ms 3052 KB Output is correct
72 Correct 1 ms 364 KB Output is correct
73 Correct 2 ms 2156 KB Output is correct
74 Correct 2 ms 1916 KB Output is correct
75 Correct 2 ms 1388 KB Output is correct
76 Correct 3 ms 3052 KB Output is correct
77 Correct 9 ms 14956 KB Output is correct
78 Correct 7 ms 11628 KB Output is correct
79 Correct 9 ms 14060 KB Output is correct
80 Correct 7 ms 11244 KB Output is correct
81 Correct 8 ms 13164 KB Output is correct
82 Correct 8 ms 11756 KB Output is correct
83 Correct 8 ms 12140 KB Output is correct
84 Correct 13 ms 14956 KB Output is correct
85 Correct 9 ms 13036 KB Output is correct
86 Correct 7 ms 10476 KB Output is correct
87 Correct 10 ms 14536 KB Output is correct
88 Correct 8 ms 11116 KB Output is correct
89 Correct 9 ms 13164 KB Output is correct
90 Correct 12 ms 14700 KB Output is correct
91 Correct 3 ms 3052 KB Output is correct
92 Correct 1 ms 364 KB Output is correct
93 Correct 2 ms 2156 KB Output is correct
94 Correct 2 ms 1900 KB Output is correct
95 Correct 2 ms 1388 KB Output is correct
96 Correct 3 ms 3052 KB Output is correct
97 Correct 9 ms 14956 KB Output is correct
98 Correct 7 ms 11628 KB Output is correct
99 Correct 9 ms 14060 KB Output is correct
100 Correct 7 ms 11244 KB Output is correct
101 Correct 8 ms 13164 KB Output is correct
102 Correct 8 ms 11756 KB Output is correct
103 Correct 8 ms 12140 KB Output is correct
104 Correct 13 ms 14956 KB Output is correct
105 Correct 9 ms 13036 KB Output is correct
106 Correct 7 ms 10476 KB Output is correct
107 Correct 10 ms 14444 KB Output is correct
108 Correct 8 ms 11116 KB Output is correct
109 Correct 9 ms 13164 KB Output is correct
110 Correct 12 ms 14700 KB Output is correct
111 Correct 3 ms 3052 KB Output is correct
112 Correct 1 ms 364 KB Output is correct
113 Correct 2 ms 2156 KB Output is correct
114 Correct 2 ms 1900 KB Output is correct
115 Correct 2 ms 1388 KB Output is correct
116 Correct 3 ms 3052 KB Output is correct
117 Correct 9 ms 14956 KB Output is correct
118 Correct 7 ms 11628 KB Output is correct
119 Correct 9 ms 14060 KB Output is correct
120 Correct 152 ms 186604 KB Output is correct
121 Correct 1089 ms 215340 KB Output is correct
122 Correct 990 ms 201708 KB Output is correct
123 Correct 614 ms 199788 KB Output is correct
124 Correct 656 ms 197996 KB Output is correct
125 Correct 1039 ms 206900 KB Output is correct
126 Correct 1174 ms 213752 KB Output is correct
127 Correct 970 ms 206572 KB Output is correct
128 Correct 803 ms 232172 KB Output is correct
129 Correct 602 ms 196972 KB Output is correct
130 Correct 38 ms 11628 KB Output is correct
131 Correct 2 ms 2028 KB Output is correct
132 Correct 55 ms 14316 KB Output is correct
133 Correct 7 ms 3436 KB Output is correct
134 Correct 30 ms 10732 KB Output is correct
135 Correct 123 ms 29420 KB Output is correct
136 Correct 205 ms 197612 KB Output is correct
137 Correct 195 ms 188140 KB Output is correct
138 Correct 185 ms 201196 KB Output is correct
139 Correct 128 ms 194156 KB Output is correct
140 Correct 155 ms 186684 KB Output is correct
141 Correct 1097 ms 215340 KB Output is correct
142 Correct 1012 ms 201788 KB Output is correct
143 Correct 636 ms 199916 KB Output is correct
144 Correct 660 ms 198012 KB Output is correct
145 Correct 1028 ms 206900 KB Output is correct
146 Correct 1170 ms 213740 KB Output is correct
147 Correct 972 ms 206444 KB Output is correct
148 Correct 784 ms 232300 KB Output is correct
149 Correct 604 ms 196844 KB Output is correct
150 Correct 38 ms 11628 KB Output is correct
151 Correct 2 ms 2028 KB Output is correct
152 Correct 55 ms 14444 KB Output is correct
153 Correct 7 ms 3436 KB Output is correct
154 Correct 31 ms 10732 KB Output is correct
155 Correct 121 ms 29420 KB Output is correct
156 Correct 199 ms 197624 KB Output is correct
157 Correct 167 ms 188140 KB Output is correct
158 Correct 188 ms 201196 KB Output is correct
159 Correct 126 ms 194156 KB Output is correct
160 Correct 150 ms 186604 KB Output is correct
161 Correct 1094 ms 215368 KB Output is correct
162 Correct 1002 ms 201900 KB Output is correct
163 Correct 607 ms 199836 KB Output is correct
164 Correct 660 ms 197996 KB Output is correct
165 Correct 1039 ms 206956 KB Output is correct
166 Correct 1186 ms 213868 KB Output is correct
167 Correct 961 ms 206512 KB Output is correct
168 Correct 785 ms 232300 KB Output is correct
169 Correct 608 ms 196844 KB Output is correct
170 Correct 40 ms 11628 KB Output is correct
171 Correct 2 ms 2028 KB Output is correct
172 Correct 55 ms 14316 KB Output is correct
173 Correct 7 ms 3436 KB Output is correct
174 Correct 31 ms 10732 KB Output is correct
175 Correct 118 ms 29420 KB Output is correct
176 Correct 201 ms 197612 KB Output is correct
177 Correct 174 ms 188140 KB Output is correct
178 Correct 185 ms 201196 KB Output is correct
179 Correct 128 ms 194156 KB Output is correct
180 Correct 158 ms 186604 KB Output is correct
181 Correct 1092 ms 215340 KB Output is correct
182 Correct 1020 ms 201836 KB Output is correct
183 Correct 610 ms 199916 KB Output is correct
184 Correct 664 ms 197996 KB Output is correct
185 Correct 1041 ms 206956 KB Output is correct
186 Correct 1166 ms 213752 KB Output is correct
187 Correct 961 ms 206512 KB Output is correct
188 Correct 790 ms 232300 KB Output is correct
189 Correct 600 ms 196844 KB Output is correct
190 Correct 38 ms 11628 KB Output is correct
191 Correct 2 ms 2028 KB Output is correct
192 Correct 56 ms 14316 KB Output is correct
193 Correct 7 ms 3436 KB Output is correct
194 Correct 30 ms 10732 KB Output is correct
195 Correct 120 ms 29548 KB Output is correct
196 Correct 203 ms 197612 KB Output is correct
197 Correct 171 ms 188140 KB Output is correct
198 Correct 185 ms 201196 KB Output is correct
199 Correct 129 ms 194156 KB Output is correct
200 Correct 159 ms 186732 KB Output is correct
201 Correct 1074 ms 215276 KB Output is correct
202 Correct 1000 ms 201916 KB Output is correct
203 Correct 606 ms 199788 KB Output is correct
204 Correct 667 ms 198112 KB Output is correct
205 Correct 1059 ms 206900 KB Output is correct
206 Correct 1189 ms 213868 KB Output is correct
207 Correct 998 ms 206444 KB Output is correct
208 Correct 805 ms 232300 KB Output is correct
209 Correct 592 ms 196972 KB Output is correct
210 Correct 39 ms 11628 KB Output is correct
211 Correct 2 ms 2028 KB Output is correct
212 Correct 55 ms 14316 KB Output is correct
213 Correct 7 ms 3436 KB Output is correct
214 Correct 31 ms 10732 KB Output is correct
215 Correct 123 ms 29420 KB Output is correct
216 Correct 200 ms 197612 KB Output is correct
217 Correct 171 ms 188224 KB Output is correct
218 Correct 184 ms 201196 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Runtime error 544 ms 578900 KB Execution killed with signal 11
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Runtime error 1784 ms 579452 KB Execution killed with signal 11
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Runtime error 1512 ms 579300 KB Execution killed with signal 11
2 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Correct 8 ms 13164 KB Output is correct
2 Correct 8 ms 11756 KB Output is correct
3 Correct 8 ms 12140 KB Output is correct
4 Correct 13 ms 14956 KB Output is correct
5 Correct 10 ms 13184 KB Output is correct
6 Correct 9 ms 10476 KB Output is correct
7 Correct 10 ms 14444 KB Output is correct
8 Correct 7 ms 11116 KB Output is correct
9 Correct 9 ms 13164 KB Output is correct
10 Correct 12 ms 14828 KB Output is correct
11 Correct 7 ms 11244 KB Output is correct
12 Correct 9 ms 13164 KB Output is correct
13 Correct 8 ms 11756 KB Output is correct
14 Correct 8 ms 12140 KB Output is correct
15 Correct 13 ms 14956 KB Output is correct
16 Correct 9 ms 13036 KB Output is correct
17 Correct 8 ms 10476 KB Output is correct
18 Correct 12 ms 14444 KB Output is correct
19 Correct 8 ms 11116 KB Output is correct
20 Correct 10 ms 13164 KB Output is correct
21 Correct 3 ms 3052 KB Output is correct
22 Correct 12 ms 14700 KB Output is correct
23 Correct 3 ms 3052 KB Output is correct
24 Correct 1 ms 364 KB Output is correct
25 Correct 3 ms 2156 KB Output is correct
26 Correct 2 ms 1900 KB Output is correct
27 Correct 2 ms 1388 KB Output is correct
28 Correct 3 ms 3052 KB Output is correct
29 Correct 9 ms 14956 KB Output is correct
30 Correct 7 ms 11628 KB Output is correct
31 Correct 9 ms 14060 KB Output is correct
32 Correct 1 ms 364 KB Output is correct
33 Correct 2 ms 2156 KB Output is correct
34 Correct 2 ms 1900 KB Output is correct
35 Correct 2 ms 1388 KB Output is correct
36 Correct 3 ms 3052 KB Output is correct
37 Correct 9 ms 14956 KB Output is correct
38 Correct 7 ms 11628 KB Output is correct
39 Correct 9 ms 14060 KB Output is correct
40 Correct 7 ms 11244 KB Output is correct
41 Correct 8 ms 13164 KB Output is correct
42 Correct 9 ms 11884 KB Output is correct
43 Correct 8 ms 12140 KB Output is correct
44 Correct 13 ms 14956 KB Output is correct
45 Correct 9 ms 13036 KB Output is correct
46 Correct 8 ms 10476 KB Output is correct
47 Correct 10 ms 14444 KB Output is correct
48 Correct 8 ms 11116 KB Output is correct
49 Correct 9 ms 13164 KB Output is correct
50 Correct 12 ms 14700 KB Output is correct
51 Correct 3 ms 3052 KB Output is correct
52 Correct 1 ms 364 KB Output is correct
53 Correct 2 ms 2156 KB Output is correct
54 Correct 2 ms 1900 KB Output is correct
55 Correct 2 ms 1388 KB Output is correct
56 Correct 3 ms 3052 KB Output is correct
57 Correct 9 ms 14956 KB Output is correct
58 Correct 7 ms 11628 KB Output is correct
59 Correct 9 ms 14060 KB Output is correct
60 Correct 7 ms 11264 KB Output is correct
61 Correct 9 ms 13312 KB Output is correct
62 Correct 8 ms 11756 KB Output is correct
63 Correct 9 ms 12168 KB Output is correct
64 Correct 13 ms 14956 KB Output is correct
65 Correct 10 ms 13036 KB Output is correct
66 Correct 7 ms 10476 KB Output is correct
67 Correct 10 ms 14444 KB Output is correct
68 Correct 8 ms 11116 KB Output is correct
69 Correct 9 ms 13164 KB Output is correct
70 Correct 12 ms 14700 KB Output is correct
71 Correct 3 ms 3052 KB Output is correct
72 Correct 1 ms 364 KB Output is correct
73 Correct 2 ms 2156 KB Output is correct
74 Correct 2 ms 1916 KB Output is correct
75 Correct 2 ms 1388 KB Output is correct
76 Correct 3 ms 3052 KB Output is correct
77 Correct 9 ms 14956 KB Output is correct
78 Correct 7 ms 11628 KB Output is correct
79 Correct 9 ms 14060 KB Output is correct
80 Correct 7 ms 11244 KB Output is correct
81 Correct 8 ms 13164 KB Output is correct
82 Correct 8 ms 11756 KB Output is correct
83 Correct 8 ms 12140 KB Output is correct
84 Correct 13 ms 14956 KB Output is correct
85 Correct 9 ms 13036 KB Output is correct
86 Correct 7 ms 10476 KB Output is correct
87 Correct 10 ms 14536 KB Output is correct
88 Correct 8 ms 11116 KB Output is correct
89 Correct 9 ms 13164 KB Output is correct
90 Correct 12 ms 14700 KB Output is correct
91 Correct 3 ms 3052 KB Output is correct
92 Correct 1 ms 364 KB Output is correct
93 Correct 2 ms 2156 KB Output is correct
94 Correct 2 ms 1900 KB Output is correct
95 Correct 2 ms 1388 KB Output is correct
96 Correct 3 ms 3052 KB Output is correct
97 Correct 9 ms 14956 KB Output is correct
98 Correct 7 ms 11628 KB Output is correct
99 Correct 9 ms 14060 KB Output is correct
100 Correct 7 ms 11244 KB Output is correct
101 Correct 8 ms 13164 KB Output is correct
102 Correct 8 ms 11756 KB Output is correct
103 Correct 8 ms 12140 KB Output is correct
104 Correct 13 ms 14956 KB Output is correct
105 Correct 9 ms 13036 KB Output is correct
106 Correct 7 ms 10476 KB Output is correct
107 Correct 10 ms 14444 KB Output is correct
108 Correct 8 ms 11116 KB Output is correct
109 Correct 9 ms 13164 KB Output is correct
110 Correct 12 ms 14700 KB Output is correct
111 Correct 3 ms 3052 KB Output is correct
112 Correct 1 ms 364 KB Output is correct
113 Correct 2 ms 2156 KB Output is correct
114 Correct 2 ms 1900 KB Output is correct
115 Correct 2 ms 1388 KB Output is correct
116 Correct 3 ms 3052 KB Output is correct
117 Correct 9 ms 14956 KB Output is correct
118 Correct 7 ms 11628 KB Output is correct
119 Correct 9 ms 14060 KB Output is correct
120 Correct 152 ms 186604 KB Output is correct
121 Correct 1089 ms 215340 KB Output is correct
122 Correct 990 ms 201708 KB Output is correct
123 Correct 614 ms 199788 KB Output is correct
124 Correct 656 ms 197996 KB Output is correct
125 Correct 1039 ms 206900 KB Output is correct
126 Correct 1174 ms 213752 KB Output is correct
127 Correct 970 ms 206572 KB Output is correct
128 Correct 803 ms 232172 KB Output is correct
129 Correct 602 ms 196972 KB Output is correct
130 Correct 38 ms 11628 KB Output is correct
131 Correct 2 ms 2028 KB Output is correct
132 Correct 55 ms 14316 KB Output is correct
133 Correct 7 ms 3436 KB Output is correct
134 Correct 30 ms 10732 KB Output is correct
135 Correct 123 ms 29420 KB Output is correct
136 Correct 205 ms 197612 KB Output is correct
137 Correct 195 ms 188140 KB Output is correct
138 Correct 185 ms 201196 KB Output is correct
139 Correct 128 ms 194156 KB Output is correct
140 Correct 155 ms 186684 KB Output is correct
141 Correct 1097 ms 215340 KB Output is correct
142 Correct 1012 ms 201788 KB Output is correct
143 Correct 636 ms 199916 KB Output is correct
144 Correct 660 ms 198012 KB Output is correct
145 Correct 1028 ms 206900 KB Output is correct
146 Correct 1170 ms 213740 KB Output is correct
147 Correct 972 ms 206444 KB Output is correct
148 Correct 784 ms 232300 KB Output is correct
149 Correct 604 ms 196844 KB Output is correct
150 Correct 38 ms 11628 KB Output is correct
151 Correct 2 ms 2028 KB Output is correct
152 Correct 55 ms 14444 KB Output is correct
153 Correct 7 ms 3436 KB Output is correct
154 Correct 31 ms 10732 KB Output is correct
155 Correct 121 ms 29420 KB Output is correct
156 Correct 199 ms 197624 KB Output is correct
157 Correct 167 ms 188140 KB Output is correct
158 Correct 188 ms 201196 KB Output is correct
159 Correct 126 ms 194156 KB Output is correct
160 Correct 150 ms 186604 KB Output is correct
161 Correct 1094 ms 215368 KB Output is correct
162 Correct 1002 ms 201900 KB Output is correct
163 Correct 607 ms 199836 KB Output is correct
164 Correct 660 ms 197996 KB Output is correct
165 Correct 1039 ms 206956 KB Output is correct
166 Correct 1186 ms 213868 KB Output is correct
167 Correct 961 ms 206512 KB Output is correct
168 Correct 785 ms 232300 KB Output is correct
169 Correct 608 ms 196844 KB Output is correct
170 Correct 40 ms 11628 KB Output is correct
171 Correct 2 ms 2028 KB Output is correct
172 Correct 55 ms 14316 KB Output is correct
173 Correct 7 ms 3436 KB Output is correct
174 Correct 31 ms 10732 KB Output is correct
175 Correct 118 ms 29420 KB Output is correct
176 Correct 201 ms 197612 KB Output is correct
177 Correct 174 ms 188140 KB Output is correct
178 Correct 185 ms 201196 KB Output is correct
179 Correct 128 ms 194156 KB Output is correct
180 Correct 158 ms 186604 KB Output is correct
181 Correct 1092 ms 215340 KB Output is correct
182 Correct 1020 ms 201836 KB Output is correct
183 Correct 610 ms 199916 KB Output is correct
184 Correct 664 ms 197996 KB Output is correct
185 Correct 1041 ms 206956 KB Output is correct
186 Correct 1166 ms 213752 KB Output is correct
187 Correct 961 ms 206512 KB Output is correct
188 Correct 790 ms 232300 KB Output is correct
189 Correct 600 ms 196844 KB Output is correct
190 Correct 38 ms 11628 KB Output is correct
191 Correct 2 ms 2028 KB Output is correct
192 Correct 56 ms 14316 KB Output is correct
193 Correct 7 ms 3436 KB Output is correct
194 Correct 30 ms 10732 KB Output is correct
195 Correct 120 ms 29548 KB Output is correct
196 Correct 203 ms 197612 KB Output is correct
197 Correct 171 ms 188140 KB Output is correct
198 Correct 185 ms 201196 KB Output is correct
199 Correct 129 ms 194156 KB Output is correct
200 Correct 159 ms 186732 KB Output is correct
201 Correct 1074 ms 215276 KB Output is correct
202 Correct 1000 ms 201916 KB Output is correct
203 Correct 606 ms 199788 KB Output is correct
204 Correct 667 ms 198112 KB Output is correct
205 Correct 1059 ms 206900 KB Output is correct
206 Correct 1189 ms 213868 KB Output is correct
207 Correct 998 ms 206444 KB Output is correct
208 Correct 805 ms 232300 KB Output is correct
209 Correct 592 ms 196972 KB Output is correct
210 Correct 39 ms 11628 KB Output is correct
211 Correct 2 ms 2028 KB Output is correct
212 Correct 55 ms 14316 KB Output is correct
213 Correct 7 ms 3436 KB Output is correct
214 Correct 31 ms 10732 KB Output is correct
215 Correct 123 ms 29420 KB Output is correct
216 Correct 200 ms 197612 KB Output is correct
217 Correct 171 ms 188224 KB Output is correct
218 Correct 184 ms 201196 KB Output is correct
219 Runtime error 544 ms 578900 KB Execution killed with signal 11
220 Halted 0 ms 0 KB -