| # | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
|---|---|---|---|---|---|---|---|
| 1146292 | mychecksedad | Cookies (JOI23_cookies) | C++20 | 컴파일 에러 | 0 ms | 0 KiB |
컴파일 시 표준 에러 (stderr) 메시지
cookies.cpp:145:11: error: redefinition of 'const int N'
145 | const int N = 500+100, M = 1e5+10, K = 52, MX = 30;
| ^
cookies.cpp:14:11: note: 'const int N' previously defined here
14 | const int N = 500+100, M = 1e5+10, K = 52, MX = 30;
| ^
cookies.cpp:145:24: error: redefinition of 'const int M'
145 | const int N = 500+100, M = 1e5+10, K = 52, MX = 30;
| ^
cookies.cpp:14:24: note: 'const int M' previously defined here
14 | const int N = 500+100, M = 1e5+10, K = 52, MX = 30;
| ^
cookies.cpp:145:36: error: redefinition of 'const int K'
145 | const int N = 500+100, M = 1e5+10, K = 52, MX = 30;
| ^
cookies.cpp:14:36: note: 'const int K' previously defined here
14 | const int N = 500+100, M = 1e5+10, K = 52, MX = 30;
| ^
cookies.cpp:145:44: error: redefinition of 'const int MX'
145 | const int N = 500+100, M = 1e5+10, K = 52, MX = 30;
| ^~
cookies.cpp:14:44: note: 'const int MX' previously defined here
14 | const int N = 500+100, M = 1e5+10, K = 52, MX = 30;
| ^~
cookies.cpp:147:8: error: redefinition of 'struct E'
147 | struct E{
| ^
cookies.cpp:16:8: note: previous definition of 'struct E'
16 | struct E{
| ^
cookies.cpp:152:5: error: redefinition of 'int n'
152 | int n, b[N], m, pref[N], PD[N][N][N];
| ^
cookies.cpp:21:5: note: 'int n' previously declared here
21 | int n, b[N], m, pref[N], PD[N][N][N];
| ^
cookies.cpp:152:8: error: redefinition of 'int b [600]'
152 | int n, b[N], m, pref[N], PD[N][N][N];
| ^
cookies.cpp:21:8: note: 'int b [600]' previously declared here
21 | int n, b[N], m, pref[N], PD[N][N][N];
| ^
cookies.cpp:152:14: error: redefinition of 'int m'
152 | int n, b[N], m, pref[N], PD[N][N][N];
| ^
cookies.cpp:21:14: note: 'int m' previously declared here
21 | int n, b[N], m, pref[N], PD[N][N][N];
| ^
cookies.cpp:152:17: error: redefinition of 'int pref [600]'
152 | int n, b[N], m, pref[N], PD[N][N][N];
| ^~~~
cookies.cpp:21:17: note: 'int pref [600]' previously declared here
21 | int n, b[N], m, pref[N], PD[N][N][N];
| ^~~~
cookies.cpp:152:26: error: redefinition of 'int PD [600][600][600]'
152 | int n, b[N], m, pref[N], PD[N][N][N];
| ^~
cookies.cpp:21:26: note: 'int PD [600][600][600]' previously declared here
21 | int n, b[N], m, pref[N], PD[N][N][N];
| ^~
cookies.cpp:153:3: error: redefinition of 'E DP [600][600]'
153 | E DP[N][N];
| ^~
cookies.cpp:22:3: note: 'E DP [600][600]' previously declared here
22 | E DP[N][N];
| ^~
cookies.cpp:154:15: error: redefinition of 'std::array<int, 2> a [600]'
154 | array<int, 2> a[N];
| ^
cookies.cpp:23:15: note: 'std::array<int, 2> a [600]' previously declared here
23 | array<int, 2> a[N];
| ^
cookies.cpp:155:24: error: redefinition of 'std::pair<bool, std::vector<std::vector<int> > > f(std::vector<std::pair<int, int> >)'
155 | pair<bool, vector<vi>> f(vector<pii> A){
| ^
cookies.cpp:24:24: note: 'std::pair<bool, std::vector<std::vector<int> > > f(std::vector<std::pair<int, int> >)' previously defined here
24 | pair<bool, vector<vi>> f(vector<pii> A){
| ^
cookies.cpp:173:6: error: redefinition of 'void solve()'
173 | void solve(){
| ^~~~~
cookies.cpp:42:6: note: 'void solve()' previously defined here
42 | void solve(){
| ^~~~~
cookies.cpp:252:5: error: redefinition of 'int main()'
252 | int main(){
| ^~~~
cookies.cpp:121:5: note: 'int main()' previously defined here
121 | int main(){
| ^~~~