Borderou de evaluare (job #2616879)
Utilizator | Data | 20 mai 2020 10:45:49 | |
---|---|---|---|
Problema | LCDR | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:15:11: error: expected unqualified-id before 'continue'
#define C continue
^
main.cpp:36:9: note: in expansion of macro 'C'
int C, L1, L2, nr;
^
main.cpp:15:11: error: expected unqualified-id before 'continue'
#define C continue
^
main.cpp:40:47: note: in expansion of macro 'C'
int mx[502][502], spc[502][502], mxL[502], L, C, L1, L2, dp[502][502];
^
main.cpp: In function 'int main()':
main.cpp:15:11: error: expected primary-expression before 'continue'
#define C continue
^
main.cpp:53:19: note: in expansion of macro 'C'
f >> L >> C >> L1 >> L2;
^
main.cpp:54:12: error: 'L2' was not declared in this scope
if(L2 - L1 + 1 >= L)
^~
main.cpp:54:17: error: 'L1' was not declared in this scope
if(L2 - L1 + 1 >= L)
^~
main.cpp:15:11: error: expected primary-expression before 'continue'
#define C continue
^
main.cpp:55:29: note: in expansion of macro 'C'
v[L].push_back({C, L1, L2, i});
^
main.cpp:15:11: error: expected '}' before 'continue'
#define C continue
^
main.cpp:55:29: note: in expansion of macro 'C'
v[L].push_back({C, L1, L2, i});
^
main.cpp:15:11: error: expected ')' before 'continue'
#define C continue
^
main.cpp:55:29: note: in expansion of macro 'C'
v[L].push_back({C, L1, L2, i});
^
main.cpp:55:41: error: expected ')' before '}' token
v[L].push_back({C, L1, L2, i});
^
main.cpp:55:42: error: expected primary-expression before ')' token
v[L].push_back({C, L1, L2, i});
^
main.cpp: At global scope:
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !