답안 #426599

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
426599 2021-06-14T07:34:05 Z Apiram Jelly Flavours (IOI20_jelly) C++14
44 / 100
167 ms 152220 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].second>dp[j].second)){
				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 1 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 0 ms 204 KB Output is correct
8 Correct 1 ms 204 KB Output is correct
9 Correct 1 ms 204 KB Output is correct
10 Correct 1 ms 204 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 204 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 0 ms 204 KB Output is correct
47 Correct 1 ms 204 KB Output is correct
48 Correct 0 ms 204 KB Output is correct
49 Correct 1 ms 204 KB Output is correct
50 Correct 1 ms 204 KB Output is correct
51 Correct 0 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 204 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 204 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 0 ms 204 KB Output is correct
79 Correct 1 ms 204 KB Output is correct
80 Correct 0 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 0 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 204 KB Output is correct
100 Correct 1 ms 204 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 204 KB Output is correct
108 Correct 1 ms 204 KB Output is correct
109 Correct 1 ms 204 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 204 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 1 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 0 ms 204 KB Output is correct
8 Correct 1 ms 204 KB Output is correct
9 Correct 1 ms 204 KB Output is correct
10 Correct 1 ms 204 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 204 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 0 ms 204 KB Output is correct
47 Correct 1 ms 204 KB Output is correct
48 Correct 0 ms 204 KB Output is correct
49 Correct 1 ms 204 KB Output is correct
50 Correct 1 ms 204 KB Output is correct
51 Correct 0 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 204 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 204 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 0 ms 204 KB Output is correct
79 Correct 1 ms 204 KB Output is correct
80 Correct 0 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 0 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 204 KB Output is correct
100 Correct 1 ms 204 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 204 KB Output is correct
108 Correct 1 ms 204 KB Output is correct
109 Correct 1 ms 204 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 204 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 12 ms 352 KB Output is correct
2 Correct 14 ms 372 KB Output is correct
3 Correct 4 ms 332 KB Output is correct
4 Correct 6 ms 332 KB Output is correct
5 Correct 33 ms 404 KB Output is correct
6 Correct 50 ms 332 KB Output is correct
7 Correct 43 ms 332 KB Output is correct
8 Correct 9 ms 332 KB Output is correct
9 Correct 50 ms 332 KB Output is correct
10 Correct 16 ms 332 KB Output is correct
11 Correct 39 ms 332 KB Output is correct
12 Correct 32 ms 332 KB Output is correct
13 Correct 30 ms 376 KB Output is correct
14 Correct 9 ms 332 KB Output is correct
15 Correct 37 ms 332 KB Output is correct
16 Correct 32 ms 332 KB Output is correct
17 Correct 32 ms 332 KB Output is correct
18 Correct 35 ms 404 KB Output is correct
19 Correct 25 ms 332 KB Output is correct
20 Correct 9 ms 348 KB Output is correct
21 Correct 9 ms 332 KB Output is correct
22 Correct 21 ms 332 KB Output is correct
23 Correct 4 ms 332 KB Output is correct
24 Correct 6 ms 332 KB Output is correct
25 Correct 38 ms 380 KB Output is correct
26 Correct 46 ms 408 KB Output is correct
27 Correct 43 ms 332 KB Output is correct
28 Correct 9 ms 332 KB Output is correct
29 Correct 46 ms 332 KB Output is correct
30 Correct 16 ms 332 KB Output is correct
31 Correct 39 ms 332 KB Output is correct
32 Correct 31 ms 400 KB Output is correct
33 Correct 29 ms 388 KB Output is correct
34 Correct 9 ms 344 KB Output is correct
35 Correct 31 ms 332 KB Output is correct
36 Correct 32 ms 456 KB Output is correct
37 Correct 31 ms 404 KB Output is correct
38 Correct 34 ms 332 KB Output is correct
39 Correct 25 ms 332 KB Output is correct
40 Correct 9 ms 332 KB Output is correct
41 Correct 9 ms 332 KB Output is correct
42 Correct 14 ms 332 KB Output is correct
43 Correct 4 ms 332 KB Output is correct
44 Correct 8 ms 332 KB Output is correct
45 Correct 42 ms 332 KB Output is correct
46 Correct 45 ms 332 KB Output is correct
47 Correct 42 ms 332 KB Output is correct
48 Correct 9 ms 332 KB Output is correct
49 Correct 44 ms 332 KB Output is correct
50 Correct 16 ms 376 KB Output is correct
51 Correct 38 ms 388 KB Output is correct
52 Correct 31 ms 332 KB Output is correct
53 Correct 28 ms 332 KB Output is correct
54 Correct 9 ms 332 KB Output is correct
55 Correct 32 ms 388 KB Output is correct
56 Correct 31 ms 332 KB Output is correct
57 Correct 32 ms 332 KB Output is correct
58 Correct 34 ms 380 KB Output is correct
59 Correct 25 ms 332 KB Output is correct
60 Correct 9 ms 344 KB Output is correct
61 Correct 9 ms 348 KB Output is correct
62 Correct 16 ms 368 KB Output is correct
63 Correct 5 ms 332 KB Output is correct
64 Correct 6 ms 348 KB Output is correct
65 Correct 33 ms 404 KB Output is correct
66 Correct 50 ms 332 KB Output is correct
67 Correct 42 ms 332 KB Output is correct
68 Correct 9 ms 344 KB Output is correct
69 Correct 44 ms 332 KB Output is correct
70 Correct 16 ms 332 KB Output is correct
71 Correct 38 ms 332 KB Output is correct
72 Correct 31 ms 332 KB Output is correct
73 Correct 29 ms 388 KB Output is correct
74 Correct 9 ms 332 KB Output is correct
75 Correct 31 ms 400 KB Output is correct
76 Correct 30 ms 400 KB Output is correct
77 Correct 32 ms 332 KB Output is correct
78 Correct 36 ms 332 KB Output is correct
79 Correct 25 ms 332 KB Output is correct
80 Correct 9 ms 348 KB Output is correct
81 Correct 10 ms 344 KB Output is correct
82 Correct 13 ms 332 KB Output is correct
83 Correct 4 ms 332 KB Output is correct
84 Correct 6 ms 344 KB Output is correct
85 Correct 33 ms 332 KB Output is correct
86 Correct 47 ms 332 KB Output is correct
87 Correct 49 ms 332 KB Output is correct
88 Correct 9 ms 332 KB Output is correct
89 Correct 44 ms 332 KB Output is correct
90 Correct 16 ms 332 KB Output is correct
91 Correct 39 ms 332 KB Output is correct
92 Correct 31 ms 452 KB Output is correct
93 Correct 34 ms 392 KB Output is correct
94 Correct 10 ms 348 KB Output is correct
95 Correct 31 ms 396 KB Output is correct
96 Correct 30 ms 396 KB Output is correct
97 Correct 31 ms 332 KB Output is correct
98 Correct 34 ms 380 KB Output is correct
99 Correct 25 ms 332 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 1 ms 204 KB Output is correct
2 Correct 1 ms 332 KB Output is correct
3 Correct 1 ms 332 KB Output is correct
4 Correct 1 ms 204 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 332 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 332 KB Output is correct
15 Correct 1 ms 332 KB Output is correct
16 Correct 1 ms 332 KB Output is correct
17 Correct 1 ms 332 KB Output is correct
18 Correct 1 ms 332 KB Output is correct
19 Correct 1 ms 204 KB Output is correct
20 Correct 1 ms 332 KB Output is correct
21 Correct 1 ms 332 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 332 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 332 KB Output is correct
28 Correct 1 ms 332 KB Output is correct
29 Correct 2 ms 332 KB Output is correct
30 Correct 1 ms 332 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 332 KB Output is correct
35 Correct 1 ms 332 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 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 332 KB Output is correct
47 Correct 1 ms 332 KB Output is correct
48 Correct 1 ms 332 KB Output is correct
49 Correct 1 ms 332 KB Output is correct
50 Correct 1 ms 332 KB Output is correct
51 Correct 1 ms 332 KB Output is correct
52 Correct 1 ms 204 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 332 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 332 KB Output is correct
59 Correct 1 ms 332 KB Output is correct
60 Correct 1 ms 332 KB Output is correct
61 Correct 1 ms 204 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 332 KB Output is correct
69 Correct 1 ms 204 KB Output is correct
70 Correct 1 ms 332 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 332 KB Output is correct
75 Correct 1 ms 332 KB Output is correct
76 Correct 1 ms 332 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 204 KB Output is correct
80 Correct 1 ms 332 KB Output is correct
81 Correct 1 ms 332 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 332 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 332 KB Output is correct
93 Correct 1 ms 332 KB Output is correct
94 Correct 1 ms 332 KB Output is correct
95 Correct 1 ms 332 KB Output is correct
96 Correct 1 ms 204 KB Output is correct
97 Correct 1 ms 332 KB Output is correct
98 Correct 1 ms 332 KB Output is correct
99 Correct 1 ms 332 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 95 ms 79276 KB Output is correct
2 Correct 140 ms 141528 KB Output is correct
3 Correct 133 ms 140356 KB Output is correct
4 Correct 138 ms 147856 KB Output is correct
5 Correct 143 ms 143556 KB Output is correct
6 Correct 137 ms 145600 KB Output is correct
7 Correct 144 ms 147032 KB Output is correct
8 Correct 162 ms 143428 KB Output is correct
9 Correct 139 ms 142240 KB Output is correct
10 Correct 149 ms 152092 KB Output is correct
11 Correct 72 ms 74308 KB Output is correct
12 Correct 1 ms 332 KB Output is correct
13 Correct 84 ms 87920 KB Output is correct
14 Correct 80 ms 78020 KB Output is correct
15 Correct 80 ms 84420 KB Output is correct
16 Correct 73 ms 78048 KB Output is correct
17 Correct 81 ms 85552 KB Output is correct
18 Correct 80 ms 85276 KB Output is correct
19 Correct 76 ms 76012 KB Output is correct
20 Correct 74 ms 77092 KB Output is correct
21 Correct 78 ms 79308 KB Output is correct
22 Correct 134 ms 141380 KB Output is correct
23 Correct 132 ms 140284 KB Output is correct
24 Correct 139 ms 147796 KB Output is correct
25 Correct 139 ms 143644 KB Output is correct
26 Correct 139 ms 145608 KB Output is correct
27 Correct 137 ms 146856 KB Output is correct
28 Correct 134 ms 143392 KB Output is correct
29 Correct 135 ms 142236 KB Output is correct
30 Correct 149 ms 152104 KB Output is correct
31 Correct 92 ms 74224 KB Output is correct
32 Correct 1 ms 204 KB Output is correct
33 Correct 84 ms 88068 KB Output is correct
34 Correct 76 ms 78084 KB Output is correct
35 Correct 84 ms 84524 KB Output is correct
36 Correct 82 ms 78084 KB Output is correct
37 Correct 89 ms 85592 KB Output is correct
38 Correct 82 ms 85060 KB Output is correct
39 Correct 74 ms 76008 KB Output is correct
40 Correct 76 ms 77132 KB Output is correct
41 Correct 78 ms 79292 KB Output is correct
42 Correct 135 ms 141284 KB Output is correct
43 Correct 133 ms 140236 KB Output is correct
44 Correct 151 ms 147976 KB Output is correct
45 Correct 155 ms 143664 KB Output is correct
46 Correct 138 ms 145604 KB Output is correct
47 Correct 136 ms 146904 KB Output is correct
48 Correct 136 ms 143436 KB Output is correct
49 Correct 161 ms 142188 KB Output is correct
50 Correct 155 ms 152220 KB Output is correct
51 Correct 72 ms 74316 KB Output is correct
52 Correct 1 ms 332 KB Output is correct
53 Correct 84 ms 87904 KB Output is correct
54 Correct 76 ms 77984 KB Output is correct
55 Correct 82 ms 84652 KB Output is correct
56 Correct 75 ms 78076 KB Output is correct
57 Correct 82 ms 85504 KB Output is correct
58 Correct 86 ms 85164 KB Output is correct
59 Correct 86 ms 76228 KB Output is correct
60 Correct 80 ms 77164 KB Output is correct
61 Correct 77 ms 79284 KB Output is correct
62 Correct 137 ms 141380 KB Output is correct
63 Correct 131 ms 140336 KB Output is correct
64 Correct 138 ms 147824 KB Output is correct
65 Correct 141 ms 143560 KB Output is correct
66 Correct 146 ms 145500 KB Output is correct
67 Correct 167 ms 146896 KB Output is correct
68 Correct 135 ms 143508 KB Output is correct
69 Correct 143 ms 142140 KB Output is correct
70 Correct 159 ms 152116 KB Output is correct
71 Correct 76 ms 74304 KB Output is correct
72 Correct 1 ms 332 KB Output is correct
73 Correct 85 ms 87920 KB Output is correct
74 Correct 76 ms 77984 KB Output is correct
75 Correct 87 ms 84476 KB Output is correct
76 Correct 75 ms 78020 KB Output is correct
77 Correct 84 ms 85576 KB Output is correct
78 Correct 84 ms 85152 KB Output is correct
79 Correct 74 ms 76108 KB Output is correct
80 Correct 75 ms 77168 KB Output is correct
81 Correct 74 ms 79296 KB Output is correct
82 Correct 134 ms 141284 KB Output is correct
83 Correct 132 ms 140352 KB Output is correct
84 Correct 141 ms 147832 KB Output is correct
85 Correct 139 ms 143664 KB Output is correct
86 Correct 136 ms 145572 KB Output is correct
87 Correct 143 ms 146836 KB Output is correct
88 Correct 140 ms 143428 KB Output is correct
89 Correct 143 ms 142224 KB Output is correct
90 Correct 147 ms 152128 KB Output is correct
91 Correct 71 ms 74308 KB Output is correct
92 Correct 1 ms 332 KB Output is correct
93 Correct 105 ms 87968 KB Output is correct
94 Correct 79 ms 78020 KB Output is correct
95 Correct 82 ms 84556 KB Output is correct
96 Correct 76 ms 78096 KB Output is correct
97 Correct 86 ms 85576 KB Output is correct
98 Correct 85 ms 85156 KB Output is correct
99 Correct 78 ms 76104 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 1 ms 204 KB Output is correct
2 Correct 1 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 0 ms 204 KB Output is correct
8 Correct 1 ms 204 KB Output is correct
9 Correct 1 ms 204 KB Output is correct
10 Correct 1 ms 204 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 204 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 0 ms 204 KB Output is correct
47 Correct 1 ms 204 KB Output is correct
48 Correct 0 ms 204 KB Output is correct
49 Correct 1 ms 204 KB Output is correct
50 Correct 1 ms 204 KB Output is correct
51 Correct 0 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 204 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 204 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 0 ms 204 KB Output is correct
79 Correct 1 ms 204 KB Output is correct
80 Correct 0 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 0 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 204 KB Output is correct
100 Correct 1 ms 204 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 204 KB Output is correct
108 Correct 1 ms 204 KB Output is correct
109 Correct 1 ms 204 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 204 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 -