Borderou de evaluare (job #3277906)

Utilizator RaduBraduBerger Radu RaduBradu Data 17 februarie 2025 23:26:25
Problema Războiul lui Vlăduț Status done
Runda arhiva-utcn Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:9:5: error: expected unqualified-id before 'int' 9 | int st,dr; | ^~~ main.cpp:11:5: error: 'f' was not declared in this scope 11 | f>>t; | ^ main.cpp:14:9: error: 'n' was not declared in this scope 14 | f>>n; | ^ main.cpp:31:18: error: expected primary-expression before ')' token 31 | for() | ^ main.cpp:32:13: error: expected primary-expression before '}' token 32 | } | ^ main.cpp:31:19: error: expected ';' before '}' token 31 | for() | ^ | ; 32 | } | ~ main.cpp:32:13: error: expected primary-expression before '}' token 32 | } | ^ main.cpp:31:19: error: expected ')' before '}' token 31 | for() | ~ ^ | ) 32 | } | ~ main.cpp:32:13: error: expected primary-expression before '}' token 32 | } | ^ main.cpp:8:9: warning: unused variable 'difmax' [-Wunused-variable] 8 | int difmax,maxdr,maxstg,maxs,maxj, | ^~~~~~ main.cpp:8:16: warning: unused variable 'maxdr' [-Wunused-variable] 8 | int difmax,maxdr,maxstg,maxs,maxj, | ^~~~~ main.cpp:8:22: warning: unused variable 'maxstg' [-Wunused-variable] 8 | int difmax,maxdr,maxstg,maxs,maxj, | ^~~~~~ main.cpp:8:29: warning: unused variable 'maxs' [-Wunused-variable] 8 | int difmax,maxdr,maxstg,maxs,maxj, | ^~~~ main.cpp:8:34: warning: unused variable 'maxj' [-Wunused-variable] 8 | int difmax,maxdr,maxstg,maxs,maxj, | ^~~~ main.cpp:10:9: warning: unused variable 'temp' [-Wunused-variable] Non zero exit status: 1

Ceva nu functioneaza?