답안 #426595

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
426595 2021-06-14T07:27:00 Z Apiram Jelly Flavours (IOI20_jelly) C++14
44 / 100
153 ms 152084 KB
#include "jelly.h"
#include <cstdio>
#include <cassert>
#include <vector>
#include<bits/stdc++.h>
using namespace std;
int find_maximum_unique(int x, int y, std::vector<int> arr, std::vector<int> brr) {
	int n = arr.size();
	bool ok=true;
	bool okay=true;
	for (int i =0;i<n;++i){
		if (arr[i]!=brr[i]){
			ok=false;
		}
		if (i>0){
			if (brr[i]!=brr[i-1])okay=false;
		}
	}
	if (okay){
		vector<pair<int,int>>crr(n);
		for (int i=0;i<n;++i){
			crr[i]={arr[i],brr[i]};
		}
		sort(crr.begin(),crr.end());
		int ans=0;
		n--;
		while(n>=0){
			if (y-crr[n].second>=0){
				y-=crr[n].second;
				--n;
				ans++;
			}
			else break;
		}
		for (int i =0;i<=n;++i){
			if (x-crr[i].first<0)break;
			x-=crr[i].first;
			ans++;
		}
		return ans;
	}
	if (!ok){
	vector<pair<int,int>>crr;
	for(int i =0;i<n;++i){
		crr.push_back({brr[i],arr[i]});
	}
	sort(crr.begin(),crr.end());
	vector<pair<int,int>>dp(x+1,{-1,-1});
	dp[0]={0,0};
	for (int i =0;i<n;++i){
		for (int j =x;j>=0;--j){
			if (dp[j].first==-1)continue;
			if (j+crr[i].second<=x&&(dp[j+crr[i].second].first==-1||dp[j+crr[i].second].first<dp[j].first+1)){
				dp[j+crr[i].second].first = dp[j].first+1;
				dp[j+crr[i].second].second=dp[j].second;
			}
			if (dp[j].second+crr[i].first<=y){
				dp[j].second=dp[j].second+crr[i].first;
				dp[j].first=dp[j].first+1;
				
				
			}
		}
	}
	int ans=0;
	for (int i =0;i<=x;++i){
		if (dp[i].second<=y)
		ans=max(ans,dp[i].first);
	}
	return ans;
	
	}
	else {
		int dp1[n+1][x+y+1];
		memset(dp1,0,sizeof dp1);
		for (int i =1;i<=n;++i){
			for (int j =0;j<=x+y;++j){
			dp1[i][j] = max({(j-arr[i-1]>=0)?dp1[i-1][j-arr[i-1]]+1:0,dp1[i][j],dp1[i-1][j]});
		}
	}
	return dp1[n][x+y];
}
}
# 결과 실행 시간 메모리 Grader output
1 Correct 1 ms 204 KB Output is correct
2 Correct 0 ms 204 KB Output is correct
3 Correct 0 ms 204 KB Output is correct
4 Correct 1 ms 204 KB Output is correct
5 Correct 1 ms 204 KB Output is correct
6 Correct 1 ms 204 KB Output is correct
7 Correct 1 ms 204 KB Output is correct
8 Correct 1 ms 204 KB Output is correct
9 Correct 1 ms 276 KB Output is correct
10 Correct 1 ms 292 KB Output is correct
11 Correct 1 ms 204 KB Output is correct
12 Correct 1 ms 204 KB Output is correct
13 Correct 1 ms 204 KB Output is correct
14 Correct 1 ms 204 KB Output is correct
15 Correct 1 ms 204 KB Output is correct
16 Correct 1 ms 204 KB Output is correct
17 Correct 1 ms 204 KB Output is correct
18 Correct 1 ms 204 KB Output is correct
19 Correct 1 ms 204 KB Output is correct
20 Correct 1 ms 204 KB Output is correct
21 Correct 1 ms 204 KB Output is correct
22 Correct 1 ms 204 KB Output is correct
23 Correct 1 ms 204 KB Output is correct
24 Correct 1 ms 204 KB Output is correct
25 Correct 1 ms 204 KB Output is correct
26 Correct 1 ms 204 KB Output is correct
27 Correct 1 ms 204 KB Output is correct
28 Correct 1 ms 204 KB Output is correct
29 Correct 1 ms 204 KB Output is correct
30 Correct 1 ms 204 KB Output is correct
31 Correct 1 ms 204 KB Output is correct
32 Correct 1 ms 204 KB Output is correct
33 Correct 1 ms 204 KB Output is correct
34 Correct 1 ms 204 KB Output is correct
35 Correct 1 ms 204 KB Output is correct
36 Correct 1 ms 204 KB Output is correct
37 Correct 1 ms 332 KB Output is correct
38 Correct 1 ms 204 KB Output is correct
39 Correct 1 ms 204 KB Output is correct
40 Correct 1 ms 204 KB Output is correct
41 Correct 1 ms 204 KB Output is correct
42 Correct 1 ms 204 KB Output is correct
43 Correct 1 ms 204 KB Output is correct
44 Correct 1 ms 204 KB Output is correct
45 Correct 1 ms 204 KB Output is correct
46 Correct 1 ms 204 KB Output is correct
47 Correct 1 ms 204 KB Output is correct
48 Correct 1 ms 204 KB Output is correct
49 Correct 1 ms 204 KB Output is correct
50 Correct 1 ms 292 KB Output is correct
51 Correct 1 ms 204 KB Output is correct
52 Correct 1 ms 204 KB Output is correct
53 Correct 1 ms 204 KB Output is correct
54 Correct 1 ms 204 KB Output is correct
55 Correct 1 ms 204 KB Output is correct
56 Correct 1 ms 204 KB Output is correct
57 Correct 1 ms 288 KB Output is correct
58 Correct 1 ms 204 KB Output is correct
59 Correct 1 ms 204 KB Output is correct
60 Correct 1 ms 204 KB Output is correct
61 Correct 1 ms 204 KB Output is correct
62 Correct 1 ms 204 KB Output is correct
63 Correct 1 ms 204 KB Output is correct
64 Correct 1 ms 204 KB Output is correct
65 Correct 1 ms 204 KB Output is correct
66 Correct 1 ms 204 KB Output is correct
67 Correct 1 ms 204 KB Output is correct
68 Correct 1 ms 296 KB Output is correct
69 Correct 1 ms 204 KB Output is correct
70 Correct 1 ms 204 KB Output is correct
71 Correct 1 ms 204 KB Output is correct
72 Correct 1 ms 204 KB Output is correct
73 Correct 1 ms 204 KB Output is correct
74 Correct 1 ms 204 KB Output is correct
75 Correct 1 ms 204 KB Output is correct
76 Correct 1 ms 204 KB Output is correct
77 Correct 1 ms 204 KB Output is correct
78 Correct 1 ms 204 KB Output is correct
79 Correct 1 ms 204 KB Output is correct
80 Correct 1 ms 204 KB Output is correct
81 Correct 1 ms 204 KB Output is correct
82 Correct 1 ms 204 KB Output is correct
83 Correct 1 ms 204 KB Output is correct
84 Correct 1 ms 204 KB Output is correct
85 Correct 1 ms 204 KB Output is correct
86 Correct 1 ms 204 KB Output is correct
87 Correct 1 ms 204 KB Output is correct
88 Correct 1 ms 204 KB Output is correct
89 Correct 1 ms 204 KB Output is correct
90 Correct 1 ms 204 KB Output is correct
91 Correct 1 ms 204 KB Output is correct
92 Correct 1 ms 204 KB Output is correct
93 Correct 1 ms 204 KB Output is correct
94 Correct 1 ms 204 KB Output is correct
95 Correct 1 ms 204 KB Output is correct
96 Correct 1 ms 204 KB Output is correct
97 Correct 1 ms 204 KB Output is correct
98 Correct 1 ms 204 KB Output is correct
99 Correct 1 ms 288 KB Output is correct
100 Correct 1 ms 292 KB Output is correct
101 Correct 1 ms 204 KB Output is correct
102 Correct 1 ms 204 KB Output is correct
103 Correct 1 ms 204 KB Output is correct
104 Correct 1 ms 204 KB Output is correct
105 Correct 1 ms 204 KB Output is correct
106 Correct 1 ms 204 KB Output is correct
107 Correct 1 ms 248 KB Output is correct
108 Correct 1 ms 204 KB Output is correct
109 Correct 1 ms 292 KB Output is correct
110 Correct 1 ms 204 KB Output is correct
111 Correct 1 ms 204 KB Output is correct
112 Correct 1 ms 204 KB Output is correct
113 Correct 1 ms 204 KB Output is correct
114 Correct 1 ms 204 KB Output is correct
115 Correct 1 ms 204 KB Output is correct
116 Correct 1 ms 204 KB Output is correct
117 Correct 1 ms 204 KB Output is correct
118 Correct 1 ms 292 KB Output is correct
119 Correct 1 ms 204 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 1 ms 204 KB Output is correct
2 Correct 0 ms 204 KB Output is correct
3 Correct 0 ms 204 KB Output is correct
4 Correct 1 ms 204 KB Output is correct
5 Correct 1 ms 204 KB Output is correct
6 Correct 1 ms 204 KB Output is correct
7 Correct 1 ms 204 KB Output is correct
8 Correct 1 ms 204 KB Output is correct
9 Correct 1 ms 276 KB Output is correct
10 Correct 1 ms 292 KB Output is correct
11 Correct 1 ms 204 KB Output is correct
12 Correct 1 ms 204 KB Output is correct
13 Correct 1 ms 204 KB Output is correct
14 Correct 1 ms 204 KB Output is correct
15 Correct 1 ms 204 KB Output is correct
16 Correct 1 ms 204 KB Output is correct
17 Correct 1 ms 204 KB Output is correct
18 Correct 1 ms 204 KB Output is correct
19 Correct 1 ms 204 KB Output is correct
20 Correct 1 ms 204 KB Output is correct
21 Correct 1 ms 204 KB Output is correct
22 Correct 1 ms 204 KB Output is correct
23 Correct 1 ms 204 KB Output is correct
24 Correct 1 ms 204 KB Output is correct
25 Correct 1 ms 204 KB Output is correct
26 Correct 1 ms 204 KB Output is correct
27 Correct 1 ms 204 KB Output is correct
28 Correct 1 ms 204 KB Output is correct
29 Correct 1 ms 204 KB Output is correct
30 Correct 1 ms 204 KB Output is correct
31 Correct 1 ms 204 KB Output is correct
32 Correct 1 ms 204 KB Output is correct
33 Correct 1 ms 204 KB Output is correct
34 Correct 1 ms 204 KB Output is correct
35 Correct 1 ms 204 KB Output is correct
36 Correct 1 ms 204 KB Output is correct
37 Correct 1 ms 332 KB Output is correct
38 Correct 1 ms 204 KB Output is correct
39 Correct 1 ms 204 KB Output is correct
40 Correct 1 ms 204 KB Output is correct
41 Correct 1 ms 204 KB Output is correct
42 Correct 1 ms 204 KB Output is correct
43 Correct 1 ms 204 KB Output is correct
44 Correct 1 ms 204 KB Output is correct
45 Correct 1 ms 204 KB Output is correct
46 Correct 1 ms 204 KB Output is correct
47 Correct 1 ms 204 KB Output is correct
48 Correct 1 ms 204 KB Output is correct
49 Correct 1 ms 204 KB Output is correct
50 Correct 1 ms 292 KB Output is correct
51 Correct 1 ms 204 KB Output is correct
52 Correct 1 ms 204 KB Output is correct
53 Correct 1 ms 204 KB Output is correct
54 Correct 1 ms 204 KB Output is correct
55 Correct 1 ms 204 KB Output is correct
56 Correct 1 ms 204 KB Output is correct
57 Correct 1 ms 288 KB Output is correct
58 Correct 1 ms 204 KB Output is correct
59 Correct 1 ms 204 KB Output is correct
60 Correct 1 ms 204 KB Output is correct
61 Correct 1 ms 204 KB Output is correct
62 Correct 1 ms 204 KB Output is correct
63 Correct 1 ms 204 KB Output is correct
64 Correct 1 ms 204 KB Output is correct
65 Correct 1 ms 204 KB Output is correct
66 Correct 1 ms 204 KB Output is correct
67 Correct 1 ms 204 KB Output is correct
68 Correct 1 ms 296 KB Output is correct
69 Correct 1 ms 204 KB Output is correct
70 Correct 1 ms 204 KB Output is correct
71 Correct 1 ms 204 KB Output is correct
72 Correct 1 ms 204 KB Output is correct
73 Correct 1 ms 204 KB Output is correct
74 Correct 1 ms 204 KB Output is correct
75 Correct 1 ms 204 KB Output is correct
76 Correct 1 ms 204 KB Output is correct
77 Correct 1 ms 204 KB Output is correct
78 Correct 1 ms 204 KB Output is correct
79 Correct 1 ms 204 KB Output is correct
80 Correct 1 ms 204 KB Output is correct
81 Correct 1 ms 204 KB Output is correct
82 Correct 1 ms 204 KB Output is correct
83 Correct 1 ms 204 KB Output is correct
84 Correct 1 ms 204 KB Output is correct
85 Correct 1 ms 204 KB Output is correct
86 Correct 1 ms 204 KB Output is correct
87 Correct 1 ms 204 KB Output is correct
88 Correct 1 ms 204 KB Output is correct
89 Correct 1 ms 204 KB Output is correct
90 Correct 1 ms 204 KB Output is correct
91 Correct 1 ms 204 KB Output is correct
92 Correct 1 ms 204 KB Output is correct
93 Correct 1 ms 204 KB Output is correct
94 Correct 1 ms 204 KB Output is correct
95 Correct 1 ms 204 KB Output is correct
96 Correct 1 ms 204 KB Output is correct
97 Correct 1 ms 204 KB Output is correct
98 Correct 1 ms 204 KB Output is correct
99 Correct 1 ms 288 KB Output is correct
100 Correct 1 ms 292 KB Output is correct
101 Correct 1 ms 204 KB Output is correct
102 Correct 1 ms 204 KB Output is correct
103 Correct 1 ms 204 KB Output is correct
104 Correct 1 ms 204 KB Output is correct
105 Correct 1 ms 204 KB Output is correct
106 Correct 1 ms 204 KB Output is correct
107 Correct 1 ms 248 KB Output is correct
108 Correct 1 ms 204 KB Output is correct
109 Correct 1 ms 292 KB Output is correct
110 Correct 1 ms 204 KB Output is correct
111 Correct 1 ms 204 KB Output is correct
112 Correct 1 ms 204 KB Output is correct
113 Correct 1 ms 204 KB Output is correct
114 Correct 1 ms 204 KB Output is correct
115 Correct 1 ms 204 KB Output is correct
116 Correct 1 ms 204 KB Output is correct
117 Correct 1 ms 204 KB Output is correct
118 Correct 1 ms 292 KB Output is correct
119 Correct 1 ms 204 KB Output is correct
120 Incorrect 1 ms 204 KB 1st lines differ - on the 1st token, expected: '34', found: '33'
121 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Correct 10 ms 332 KB Output is correct
2 Correct 15 ms 364 KB Output is correct
3 Correct 5 ms 332 KB Output is correct
4 Correct 7 ms 348 KB Output is correct
5 Correct 37 ms 380 KB Output is correct
6 Correct 55 ms 332 KB Output is correct
7 Correct 47 ms 332 KB Output is correct
8 Correct 10 ms 344 KB Output is correct
9 Correct 50 ms 400 KB Output is correct
10 Correct 22 ms 376 KB Output is correct
11 Correct 43 ms 332 KB Output is correct
12 Correct 35 ms 380 KB Output is correct
13 Correct 31 ms 372 KB Output is correct
14 Correct 10 ms 344 KB Output is correct
15 Correct 44 ms 332 KB Output is correct
16 Correct 33 ms 332 KB Output is correct
17 Correct 42 ms 388 KB Output is correct
18 Correct 47 ms 332 KB Output is correct
19 Correct 31 ms 332 KB Output is correct
20 Correct 10 ms 344 KB Output is correct
21 Correct 12 ms 332 KB Output is correct
22 Correct 15 ms 332 KB Output is correct
23 Correct 5 ms 332 KB Output is correct
24 Correct 7 ms 344 KB Output is correct
25 Correct 37 ms 404 KB Output is correct
26 Correct 51 ms 396 KB Output is correct
27 Correct 55 ms 332 KB Output is correct
28 Correct 10 ms 344 KB Output is correct
29 Correct 52 ms 332 KB Output is correct
30 Correct 19 ms 376 KB Output is correct
31 Correct 43 ms 332 KB Output is correct
32 Correct 35 ms 332 KB Output is correct
33 Correct 32 ms 392 KB Output is correct
34 Correct 10 ms 332 KB Output is correct
35 Correct 33 ms 332 KB Output is correct
36 Correct 43 ms 332 KB Output is correct
37 Correct 36 ms 332 KB Output is correct
38 Correct 39 ms 332 KB Output is correct
39 Correct 28 ms 332 KB Output is correct
40 Correct 12 ms 460 KB Output is correct
41 Correct 15 ms 344 KB Output is correct
42 Correct 15 ms 304 KB Output is correct
43 Correct 7 ms 332 KB Output is correct
44 Correct 7 ms 332 KB Output is correct
45 Correct 37 ms 384 KB Output is correct
46 Correct 51 ms 396 KB Output is correct
47 Correct 47 ms 332 KB Output is correct
48 Correct 13 ms 348 KB Output is correct
49 Correct 52 ms 332 KB Output is correct
50 Correct 27 ms 332 KB Output is correct
51 Correct 44 ms 332 KB Output is correct
52 Correct 35 ms 396 KB Output is correct
53 Correct 31 ms 332 KB Output is correct
54 Correct 10 ms 332 KB Output is correct
55 Correct 35 ms 332 KB Output is correct
56 Correct 34 ms 332 KB Output is correct
57 Correct 35 ms 332 KB Output is correct
58 Correct 39 ms 332 KB Output is correct
59 Correct 33 ms 332 KB Output is correct
60 Correct 11 ms 344 KB Output is correct
61 Correct 10 ms 352 KB Output is correct
62 Correct 16 ms 368 KB Output is correct
63 Correct 5 ms 332 KB Output is correct
64 Correct 10 ms 332 KB Output is correct
65 Correct 40 ms 404 KB Output is correct
66 Correct 53 ms 332 KB Output is correct
67 Correct 49 ms 332 KB Output is correct
68 Correct 10 ms 236 KB Output is correct
69 Correct 48 ms 396 KB Output is correct
70 Correct 21 ms 332 KB Output is correct
71 Correct 46 ms 332 KB Output is correct
72 Correct 35 ms 332 KB Output is correct
73 Correct 42 ms 376 KB Output is correct
74 Correct 13 ms 348 KB Output is correct
75 Correct 38 ms 380 KB Output is correct
76 Correct 34 ms 332 KB Output is correct
77 Correct 37 ms 332 KB Output is correct
78 Correct 38 ms 352 KB Output is correct
79 Correct 29 ms 396 KB Output is correct
80 Correct 10 ms 332 KB Output is correct
81 Correct 10 ms 344 KB Output is correct
82 Correct 22 ms 332 KB Output is correct
83 Correct 7 ms 356 KB Output is correct
84 Correct 10 ms 332 KB Output is correct
85 Correct 38 ms 388 KB Output is correct
86 Correct 60 ms 332 KB Output is correct
87 Correct 58 ms 332 KB Output is correct
88 Correct 12 ms 332 KB Output is correct
89 Correct 49 ms 332 KB Output is correct
90 Correct 19 ms 332 KB Output is correct
91 Correct 43 ms 332 KB Output is correct
92 Correct 34 ms 376 KB Output is correct
93 Correct 31 ms 376 KB Output is correct
94 Correct 11 ms 356 KB Output is correct
95 Correct 35 ms 332 KB Output is correct
96 Correct 33 ms 332 KB Output is correct
97 Correct 37 ms 376 KB Output is correct
98 Correct 42 ms 392 KB Output is correct
99 Correct 31 ms 332 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 1 ms 332 KB Output is correct
2 Correct 1 ms 332 KB Output is correct
3 Correct 2 ms 332 KB Output is correct
4 Correct 1 ms 332 KB Output is correct
5 Correct 1 ms 332 KB Output is correct
6 Correct 1 ms 332 KB Output is correct
7 Correct 1 ms 332 KB Output is correct
8 Correct 1 ms 332 KB Output is correct
9 Correct 1 ms 332 KB Output is correct
10 Correct 1 ms 332 KB Output is correct
11 Correct 1 ms 204 KB Output is correct
12 Correct 1 ms 332 KB Output is correct
13 Correct 1 ms 332 KB Output is correct
14 Correct 1 ms 252 KB Output is correct
15 Correct 2 ms 332 KB Output is correct
16 Correct 1 ms 204 KB Output is correct
17 Correct 1 ms 332 KB Output is correct
18 Correct 1 ms 204 KB Output is correct
19 Correct 1 ms 332 KB Output is correct
20 Correct 1 ms 332 KB Output is correct
21 Correct 1 ms 204 KB Output is correct
22 Correct 1 ms 332 KB Output is correct
23 Correct 1 ms 332 KB Output is correct
24 Correct 1 ms 204 KB Output is correct
25 Correct 1 ms 332 KB Output is correct
26 Correct 1 ms 204 KB Output is correct
27 Correct 1 ms 204 KB Output is correct
28 Correct 1 ms 332 KB Output is correct
29 Correct 1 ms 332 KB Output is correct
30 Correct 1 ms 204 KB Output is correct
31 Correct 1 ms 332 KB Output is correct
32 Correct 1 ms 332 KB Output is correct
33 Correct 1 ms 332 KB Output is correct
34 Correct 1 ms 204 KB Output is correct
35 Correct 1 ms 332 KB Output is correct
36 Correct 1 ms 332 KB Output is correct
37 Correct 1 ms 332 KB Output is correct
38 Correct 1 ms 204 KB Output is correct
39 Correct 1 ms 332 KB Output is correct
40 Correct 1 ms 332 KB Output is correct
41 Correct 1 ms 332 KB Output is correct
42 Correct 1 ms 332 KB Output is correct
43 Correct 1 ms 332 KB Output is correct
44 Correct 1 ms 332 KB Output is correct
45 Correct 1 ms 332 KB Output is correct
46 Correct 1 ms 204 KB Output is correct
47 Correct 1 ms 332 KB Output is correct
48 Correct 1 ms 204 KB Output is correct
49 Correct 2 ms 332 KB Output is correct
50 Correct 1 ms 204 KB Output is correct
51 Correct 1 ms 204 KB Output is correct
52 Correct 1 ms 332 KB Output is correct
53 Correct 1 ms 332 KB Output is correct
54 Correct 1 ms 332 KB Output is correct
55 Correct 1 ms 204 KB Output is correct
56 Correct 1 ms 332 KB Output is correct
57 Correct 1 ms 332 KB Output is correct
58 Correct 1 ms 204 KB Output is correct
59 Correct 1 ms 332 KB Output is correct
60 Correct 2 ms 332 KB Output is correct
61 Correct 1 ms 332 KB Output is correct
62 Correct 1 ms 332 KB Output is correct
63 Correct 1 ms 332 KB Output is correct
64 Correct 1 ms 332 KB Output is correct
65 Correct 1 ms 332 KB Output is correct
66 Correct 1 ms 332 KB Output is correct
67 Correct 1 ms 332 KB Output is correct
68 Correct 1 ms 204 KB Output is correct
69 Correct 1 ms 332 KB Output is correct
70 Correct 1 ms 204 KB Output is correct
71 Correct 1 ms 204 KB Output is correct
72 Correct 1 ms 332 KB Output is correct
73 Correct 1 ms 332 KB Output is correct
74 Correct 1 ms 204 KB Output is correct
75 Correct 1 ms 204 KB Output is correct
76 Correct 1 ms 204 KB Output is correct
77 Correct 1 ms 332 KB Output is correct
78 Correct 1 ms 332 KB Output is correct
79 Correct 1 ms 332 KB Output is correct
80 Correct 1 ms 332 KB Output is correct
81 Correct 1 ms 204 KB Output is correct
82 Correct 1 ms 332 KB Output is correct
83 Correct 1 ms 332 KB Output is correct
84 Correct 1 ms 204 KB Output is correct
85 Correct 1 ms 332 KB Output is correct
86 Correct 1 ms 332 KB Output is correct
87 Correct 1 ms 332 KB Output is correct
88 Correct 1 ms 332 KB Output is correct
89 Correct 1 ms 204 KB Output is correct
90 Correct 1 ms 332 KB Output is correct
91 Correct 1 ms 204 KB Output is correct
92 Correct 1 ms 204 KB Output is correct
93 Correct 1 ms 332 KB Output is correct
94 Correct 1 ms 204 KB Output is correct
95 Correct 1 ms 332 KB Output is correct
96 Correct 1 ms 332 KB Output is correct
97 Correct 1 ms 332 KB Output is correct
98 Correct 1 ms 204 KB Output is correct
99 Correct 1 ms 204 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 79 ms 79336 KB Output is correct
2 Correct 137 ms 141284 KB Output is correct
3 Correct 138 ms 140344 KB Output is correct
4 Correct 142 ms 147780 KB Output is correct
5 Correct 138 ms 143720 KB Output is correct
6 Correct 138 ms 145616 KB Output is correct
7 Correct 140 ms 146916 KB Output is correct
8 Correct 136 ms 143384 KB Output is correct
9 Correct 137 ms 142288 KB Output is correct
10 Correct 146 ms 152072 KB Output is correct
11 Correct 87 ms 74308 KB Output is correct
12 Correct 1 ms 332 KB Output is correct
13 Correct 91 ms 88024 KB Output is correct
14 Correct 91 ms 78040 KB Output is correct
15 Correct 82 ms 84536 KB Output is correct
16 Correct 77 ms 78020 KB Output is correct
17 Correct 84 ms 85700 KB Output is correct
18 Correct 86 ms 85112 KB Output is correct
19 Correct 75 ms 76108 KB Output is correct
20 Correct 75 ms 77168 KB Output is correct
21 Correct 78 ms 79252 KB Output is correct
22 Correct 134 ms 141252 KB Output is correct
23 Correct 136 ms 140356 KB Output is correct
24 Correct 143 ms 147852 KB Output is correct
25 Correct 139 ms 143656 KB Output is correct
26 Correct 142 ms 145608 KB Output is correct
27 Correct 141 ms 146916 KB Output is correct
28 Correct 136 ms 143456 KB Output is correct
29 Correct 135 ms 142156 KB Output is correct
30 Correct 146 ms 152000 KB Output is correct
31 Correct 74 ms 74212 KB Output is correct
32 Correct 1 ms 204 KB Output is correct
33 Correct 86 ms 87860 KB Output is correct
34 Correct 77 ms 78084 KB Output is correct
35 Correct 87 ms 84548 KB Output is correct
36 Correct 76 ms 77964 KB Output is correct
37 Correct 84 ms 85572 KB Output is correct
38 Correct 81 ms 85088 KB Output is correct
39 Correct 73 ms 76100 KB Output is correct
40 Correct 80 ms 77124 KB Output is correct
41 Correct 87 ms 79332 KB Output is correct
42 Correct 135 ms 141280 KB Output is correct
43 Correct 135 ms 140260 KB Output is correct
44 Correct 142 ms 147780 KB Output is correct
45 Correct 138 ms 143664 KB Output is correct
46 Correct 143 ms 145688 KB Output is correct
47 Correct 139 ms 146920 KB Output is correct
48 Correct 138 ms 143372 KB Output is correct
49 Correct 143 ms 142144 KB Output is correct
50 Correct 153 ms 152004 KB Output is correct
51 Correct 74 ms 74312 KB Output is correct
52 Correct 1 ms 204 KB Output is correct
53 Correct 93 ms 88032 KB Output is correct
54 Correct 78 ms 78028 KB Output is correct
55 Correct 100 ms 84540 KB Output is correct
56 Correct 80 ms 78020 KB Output is correct
57 Correct 88 ms 85476 KB Output is correct
58 Correct 83 ms 85060 KB Output is correct
59 Correct 76 ms 76108 KB Output is correct
60 Correct 75 ms 77164 KB Output is correct
61 Correct 82 ms 79412 KB Output is correct
62 Correct 139 ms 141200 KB Output is correct
63 Correct 136 ms 140452 KB Output is correct
64 Correct 144 ms 147816 KB Output is correct
65 Correct 139 ms 143660 KB Output is correct
66 Correct 141 ms 145604 KB Output is correct
67 Correct 147 ms 146916 KB Output is correct
68 Correct 143 ms 143436 KB Output is correct
69 Correct 140 ms 142172 KB Output is correct
70 Correct 147 ms 152068 KB Output is correct
71 Correct 73 ms 74316 KB Output is correct
72 Correct 1 ms 204 KB Output is correct
73 Correct 85 ms 87924 KB Output is correct
74 Correct 78 ms 78020 KB Output is correct
75 Correct 83 ms 84420 KB Output is correct
76 Correct 75 ms 78076 KB Output is correct
77 Correct 83 ms 85572 KB Output is correct
78 Correct 86 ms 85060 KB Output is correct
79 Correct 75 ms 76000 KB Output is correct
80 Correct 79 ms 77132 KB Output is correct
81 Correct 81 ms 79304 KB Output is correct
82 Correct 134 ms 141280 KB Output is correct
83 Correct 134 ms 140296 KB Output is correct
84 Correct 141 ms 147780 KB Output is correct
85 Correct 141 ms 143616 KB Output is correct
86 Correct 139 ms 145604 KB Output is correct
87 Correct 139 ms 146880 KB Output is correct
88 Correct 149 ms 143392 KB Output is correct
89 Correct 143 ms 142264 KB Output is correct
90 Correct 146 ms 152084 KB Output is correct
91 Correct 73 ms 74308 KB Output is correct
92 Correct 1 ms 332 KB Output is correct
93 Correct 92 ms 87968 KB Output is correct
94 Correct 79 ms 78088 KB Output is correct
95 Correct 84 ms 84556 KB Output is correct
96 Correct 77 ms 78020 KB Output is correct
97 Correct 84 ms 85572 KB Output is correct
98 Correct 83 ms 85060 KB Output is correct
99 Correct 79 ms 76004 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 1 ms 204 KB Output is correct
2 Correct 0 ms 204 KB Output is correct
3 Correct 0 ms 204 KB Output is correct
4 Correct 1 ms 204 KB Output is correct
5 Correct 1 ms 204 KB Output is correct
6 Correct 1 ms 204 KB Output is correct
7 Correct 1 ms 204 KB Output is correct
8 Correct 1 ms 204 KB Output is correct
9 Correct 1 ms 276 KB Output is correct
10 Correct 1 ms 292 KB Output is correct
11 Correct 1 ms 204 KB Output is correct
12 Correct 1 ms 204 KB Output is correct
13 Correct 1 ms 204 KB Output is correct
14 Correct 1 ms 204 KB Output is correct
15 Correct 1 ms 204 KB Output is correct
16 Correct 1 ms 204 KB Output is correct
17 Correct 1 ms 204 KB Output is correct
18 Correct 1 ms 204 KB Output is correct
19 Correct 1 ms 204 KB Output is correct
20 Correct 1 ms 204 KB Output is correct
21 Correct 1 ms 204 KB Output is correct
22 Correct 1 ms 204 KB Output is correct
23 Correct 1 ms 204 KB Output is correct
24 Correct 1 ms 204 KB Output is correct
25 Correct 1 ms 204 KB Output is correct
26 Correct 1 ms 204 KB Output is correct
27 Correct 1 ms 204 KB Output is correct
28 Correct 1 ms 204 KB Output is correct
29 Correct 1 ms 204 KB Output is correct
30 Correct 1 ms 204 KB Output is correct
31 Correct 1 ms 204 KB Output is correct
32 Correct 1 ms 204 KB Output is correct
33 Correct 1 ms 204 KB Output is correct
34 Correct 1 ms 204 KB Output is correct
35 Correct 1 ms 204 KB Output is correct
36 Correct 1 ms 204 KB Output is correct
37 Correct 1 ms 332 KB Output is correct
38 Correct 1 ms 204 KB Output is correct
39 Correct 1 ms 204 KB Output is correct
40 Correct 1 ms 204 KB Output is correct
41 Correct 1 ms 204 KB Output is correct
42 Correct 1 ms 204 KB Output is correct
43 Correct 1 ms 204 KB Output is correct
44 Correct 1 ms 204 KB Output is correct
45 Correct 1 ms 204 KB Output is correct
46 Correct 1 ms 204 KB Output is correct
47 Correct 1 ms 204 KB Output is correct
48 Correct 1 ms 204 KB Output is correct
49 Correct 1 ms 204 KB Output is correct
50 Correct 1 ms 292 KB Output is correct
51 Correct 1 ms 204 KB Output is correct
52 Correct 1 ms 204 KB Output is correct
53 Correct 1 ms 204 KB Output is correct
54 Correct 1 ms 204 KB Output is correct
55 Correct 1 ms 204 KB Output is correct
56 Correct 1 ms 204 KB Output is correct
57 Correct 1 ms 288 KB Output is correct
58 Correct 1 ms 204 KB Output is correct
59 Correct 1 ms 204 KB Output is correct
60 Correct 1 ms 204 KB Output is correct
61 Correct 1 ms 204 KB Output is correct
62 Correct 1 ms 204 KB Output is correct
63 Correct 1 ms 204 KB Output is correct
64 Correct 1 ms 204 KB Output is correct
65 Correct 1 ms 204 KB Output is correct
66 Correct 1 ms 204 KB Output is correct
67 Correct 1 ms 204 KB Output is correct
68 Correct 1 ms 296 KB Output is correct
69 Correct 1 ms 204 KB Output is correct
70 Correct 1 ms 204 KB Output is correct
71 Correct 1 ms 204 KB Output is correct
72 Correct 1 ms 204 KB Output is correct
73 Correct 1 ms 204 KB Output is correct
74 Correct 1 ms 204 KB Output is correct
75 Correct 1 ms 204 KB Output is correct
76 Correct 1 ms 204 KB Output is correct
77 Correct 1 ms 204 KB Output is correct
78 Correct 1 ms 204 KB Output is correct
79 Correct 1 ms 204 KB Output is correct
80 Correct 1 ms 204 KB Output is correct
81 Correct 1 ms 204 KB Output is correct
82 Correct 1 ms 204 KB Output is correct
83 Correct 1 ms 204 KB Output is correct
84 Correct 1 ms 204 KB Output is correct
85 Correct 1 ms 204 KB Output is correct
86 Correct 1 ms 204 KB Output is correct
87 Correct 1 ms 204 KB Output is correct
88 Correct 1 ms 204 KB Output is correct
89 Correct 1 ms 204 KB Output is correct
90 Correct 1 ms 204 KB Output is correct
91 Correct 1 ms 204 KB Output is correct
92 Correct 1 ms 204 KB Output is correct
93 Correct 1 ms 204 KB Output is correct
94 Correct 1 ms 204 KB Output is correct
95 Correct 1 ms 204 KB Output is correct
96 Correct 1 ms 204 KB Output is correct
97 Correct 1 ms 204 KB Output is correct
98 Correct 1 ms 204 KB Output is correct
99 Correct 1 ms 288 KB Output is correct
100 Correct 1 ms 292 KB Output is correct
101 Correct 1 ms 204 KB Output is correct
102 Correct 1 ms 204 KB Output is correct
103 Correct 1 ms 204 KB Output is correct
104 Correct 1 ms 204 KB Output is correct
105 Correct 1 ms 204 KB Output is correct
106 Correct 1 ms 204 KB Output is correct
107 Correct 1 ms 248 KB Output is correct
108 Correct 1 ms 204 KB Output is correct
109 Correct 1 ms 292 KB Output is correct
110 Correct 1 ms 204 KB Output is correct
111 Correct 1 ms 204 KB Output is correct
112 Correct 1 ms 204 KB Output is correct
113 Correct 1 ms 204 KB Output is correct
114 Correct 1 ms 204 KB Output is correct
115 Correct 1 ms 204 KB Output is correct
116 Correct 1 ms 204 KB Output is correct
117 Correct 1 ms 204 KB Output is correct
118 Correct 1 ms 292 KB Output is correct
119 Correct 1 ms 204 KB Output is correct
120 Incorrect 1 ms 204 KB 1st lines differ - on the 1st token, expected: '34', found: '33'
121 Halted 0 ms 0 KB -