Borderou de evaluare (job #2864916)

Utilizator cezarinfoTulceanu Cezar cezarinfo Data 8 martie 2022 12:21:52
Problema Nuke Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:15:2: error: expected ';' after struct definition 15 | } | ^ | ; main.cpp:19:2: error: expected ';' after struct definition 19 | } | ^ | ; main.cpp:24:7: error: expected initializer before 'ln' 24 | linie ln; | ^~ main.cpp:42:1: error: expected unqualified-id before '{' token 42 | { | ^ main.cpp: In function 'int main()': main.cpp:51:9: error: 'ln' was not declared in this scope; did you mean 'lin'? 51 | ln.y=v[i].y; | ^~ | lin main.cpp:60:9: error: 'ln' was not declared in this scope; did you mean 'lin'? 60 | ln.y=w[i].y-r; | ^~ | lin main.cpp:60:21: error: 'r' was not declared in this scope 60 | ln.y=w[i].y-r; | ^ main.cpp:65:13: error: 'class std::set<int>' has no member named 'ty' 65 | lin.ty=2; | ^~ main.cpp:75:9: error: expected primary-expression before '}' token 75 | } | ^ main.cpp:71:18: warning: unused variable 't' [-Wunused-variable] 71 | for(auto t:ma[1][*it]) | ^ Non zero exit status: 1

Ceva nu functioneaza?