Borderou de evaluare (job #2616878)

Utilizator infinite_iqBesher Islambouley infinite_iq Data 20 mai 2020 10:44:29
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:34: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:38: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:42:5: error: 'f' was not declared in this scope f >> n >> m >> q; ^ main.cpp:15:11: error: expected primary-expression before 'continue' #define C continue ^ main.cpp:50:19: note: in expansion of macro 'C' f >> L >> C >> L1 >> L2; ^ main.cpp:51:12: error: 'L2' was not declared in this scope if(L2 - L1 + 1 >= L) ^~ main.cpp:51: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:52: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:52: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:52:29: note: in expansion of macro 'C' v[L].push_back({C, L1, L2, i}); ^ main.cpp:52:41: error: expected ')' before '}' token v[L].push_back({C, L1, L2, i}); ^ main.cpp:52:42: error: expected primary-expression before ')' token Non zero exit status: 1

Ceva nu functioneaza?