Borderou de evaluare (job #1822399)

Utilizator alex_HarryBabalau Alexandru alex_Harry Data 4 decembrie 2016 20:28:12
Problema Rev Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void Add(int, int)’: user.cpp:134:25: warning: variable ‘a’ set but not used [-Wunused-but-set-variable] pair <int, int> a = *it, b = *it4; ^ user.cpp:134:34: warning: variable ‘b’ set but not used [-Wunused-but-set-variable] pair <int, int> a = *it, b = *it4; ^ user.cpp: In function ‘int findAns(int)’: user.cpp:155:30: warning: variable ‘it3’ set but not used [-Wunused-but-set-variable] auto it2 = List.begin(), it3 = List.begin(); ^ user.cpp: In function ‘void rebuildArray()’: user.cpp:186:13: error: ‘Array2’ was not declared in this scope Array2[++cnt] = Array[i]; ^ user.cpp:187:9: error: ‘Array2’ was not declared in this scope Array2[++cnt] = Array[b]; ^ user.cpp:190:20: error: ‘Array2’ was not declared in this scope Array[i] = Array2[i]; ^

Ceva nu functioneaza?