Borderou de evaluare (job #2035780)

Utilizator Tiberiu02Tiberiu Musat Tiberiu02 Data 9 octombrie 2017 20:14:57
Problema Bacterii2 Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:106:14: warning: unused variable ‘m’ [-Wunused-variable] int n, m, x, mx_a = 0, mx_b = 0; ^ user.cpp:106:30: warning: unused variable ‘mx_b’ [-Wunused-variable] int n, m, x, mx_a = 0, mx_b = 0; ^ user.cpp:113:14: error: ‘m’ was not declared in this scope fin >> m; ^ user.cpp:115:16: error: ‘x’ was not declared in this scope fin >> x; ^ user.cpp:116:9: error: ‘b’ was not declared in this scope b[x] ++; ^ user.cpp:117:9: error: ‘mx_b’ was not declared in this scope mx_b = max( mx_b, x ); ^ user.cpp:120:28: error: ‘a’ was not declared in this scope vector<int> c = mul( a, b, mx_a + mx_b ); ^ user.cpp:120:31: error: ‘b’ was not declared in this scope vector<int> c = mul( a, b, mx_a + mx_b ); ^ user.cpp:120:34: error: ‘mx_a’ was not declared in this scope vector<int> c = mul( a, b, mx_a + mx_b ); ^ user.cpp:120:41: error: ‘mx_b’ was not declared in this scope vector<int> c = mul( a, b, mx_a + mx_b ); ^ user.cpp: At global scope: user.cpp:128:5: error: expected unqualified-id before ‘return’ return 0; ^ user.cpp:129:1: error: expected declaration before ‘}’ token } ^

Ceva nu functioneaza?