Borderou de evaluare (job #764292)

Utilizator avatar sandry24 Grosu Alexandru sandry24 IP ascuns
Problemă Antitir Compilator cpp-32
Rundă lasm_22_02_2024_clasa12 Status evaluat
Dată 22 feb. 2024 12:53:13 Scor 0

Raport evaluator

Eroare de compilare: main.cpp:4:70: error: '__fname' was not declared in this scope; did you mean 'fname'? 4 | string fname = "antitir"; ifstream in (fname + ".in"); ofstream out (__fname + ".out"); | ^~~~~~~ | fname main.cpp: In function 'int main()': main.cpp:25:22: error: 'sdasdas' was not declared in this scope 25 | int px = a[n / 2]; sdasdas | ^~~~~~~ main.cpp:29:30: error: 'py' was not declared in this scope; did you mean 'px'? 29 | rs+=abs(px - a[i]) + abs(py - b[i]); | ^~ | px