Borderou de evaluare (job #806057)

Utilizator avatar UngureanuMihai Ungureanu Mihai Razvan UngureanuMihai IP ascuns
Problemă Sume Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 24 ian. 2025 11:54:38 Scor 0

Raport evaluator

Eroare de compilare: main.cpp:6:1: error: 'iftream' does not name a type 6 | iftream in("sume.in") | ^~~~~~~ main.cpp: In function 'int main()': main.cpp:12:5: error: 'in' was not declared in this scope; did you mean 'int'? 12 | in>>n>>k; | ^~ | int main.cpp:12:9: error: 'n' was not declared in this scope 12 | in>>n>>k; | ^ main.cpp:12:12: error: 'k' was not declared in this scope 12 | in>>n>>k; | ^ main.cpp:14:10: error: 'inti' was not declared in this scope; did you mean 'int'? 14 | for (inti=1; i<=n; i++) | ^~~~ | int main.cpp:14:18: error: 'i' was not declared in this scope 14 | for (inti=1; i<=n; i++) | ^ main.cpp:16:9: error: 'fin' was not declared in this scope 16 | fin>>x; | ^~~ main.cpp:16:14: error: 'x' was not declared in this scope 16 | fin>>x; | ^ main.cpp:24:9: error: 's' was not declared in this scope 24 | s+=v[i]; | ^ main.cpp:43:9: error: 's1' was not declared in this scope 43 | s1+=v[i]; | ^~ main.cpp:63:5: error: 'of' was not declared in this scope 63 | of<<s1<<"\n"; | ^~ main.cpp:63:9: error: 's1' was not declared in this scope 63 | of<<s1<<"\n"; | ^~ main.cpp:64:9: error: 's' was not declared in this scope 64 | of<<s; | ^