Borderou de evaluare (job #2204826)

Utilizator andreicoman299Coman Andrei andreicoman299 Data 17 mai 2018 00:57:48
Problema Poligon Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:93:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j = i; j + 1 < Active.size(); j++) ~~~~~~^~~~~~~~~~~~~~~ user.cpp:100:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while(i < Active.size() && check(Active[i], y)) i++; ~~^~~~~~~~~~~~~~~ user.cpp:125:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i + 1 < Active.size(); i++) ~~~~~~^~~~~~~~~~~~~~~ user.cpp:127:16: error: ‘con’ was not declared in this scope if(con % 2 == 1){ ^~~ user.cpp:58:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d%d", &n, &m); ^ user.cpp:60:44: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d%d", &v[i].x, &v[i].y); ^ user.cpp:65:44: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d%d", &w[i].x, &w[i].y); ^

Ceva nu functioneaza?