Borderou de evaluare (job #2954034)

Utilizator e_ggIonescu Dorian e_gg Data 13 decembrie 2022 08:45:34
Problema Elicop Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:10:38: error: expected unqualified-id before 'or' token 10 | int n, m, k, n1, n2, x1, x2, y1, y2, or, cnt, pu, pt; | ^~ main.cpp: In function 'int main()': main.cpp:19:38: error: expected primary-expression before 'or' token 19 | f >> x1 >> y1 >> x2 >> y2 >> or; | ^~ main.cpp:19:40: error: expected primary-expression before ';' token 19 | f >> x1 >> y1 >> x2 >> y2 >> or; | ^ main.cpp:20:9: error: 'pu' was not declared in this scope; did you mean 'p'? 20 | pu = pt = 0; | ^~ | p main.cpp:20:14: error: 'pt' was not declared in this scope; did you mean 'p'? 20 | pu = pt = 0; | ^~ | p main.cpp:21:14: error: expected primary-expression before 'or' token 21 | if ( or == -1 ) { | ^~ main.cpp:21:17: error: expected primary-expression before '==' token 21 | if ( or == -1 ) { | ^~ main.cpp:41:19: error: 'cnt' was not declared in this scope; did you mean 'int'? 41 | sol[++cnt] = p; | ^~~ | int main.cpp:45:27: error: 'cnt' was not declared in this scope; did you mean 'int'? 45 | for ( int i = 1; i <= cnt; i++ ) | ^~~ | int Non zero exit status: 1

Ceva nu functioneaza?