Borderou de evaluare (job #1700313)

Utilizator VladTiberiuMihailescu Vlad Tiberiu VladTiberiu Data 9 mai 2016 23:56:27
Problema Hashuri Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void add(int)’: user.cpp:13:18: error: ‘rest’ was not declared in this scope int nr = x % rest; ^ user.cpp:14:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < l[nr].size(); ++i) ^ user.cpp: In function ‘void remove(int)’: user.cpp:20:18: error: ‘rest’ was not declared in this scope int nr = x % rest; ^ user.cpp:21:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < l[nr].size(); ++i) ^ user.cpp: In function ‘bool query(int)’: user.cpp:28:18: error: ‘rest’ was not declared in this scope int nr = x % rest; ^ user.cpp:29:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < l[nr].size(); ++i){ ^

Ceva nu functioneaza?