Borderou de evaluare (job #2204808)

Utilizator andreicoman299Coman Andrei andreicoman299 Data 17 mai 2018 00:37:44
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:90:39: error: ‘tp’ was not declared in this scope out[std::min(y.A, y.B)] = tp; ^~ 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:98:38: error: ‘tp’ was not declared in this scope in[std::min(y.A, y.B)] = tp; ^~ 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:122:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < Active.size(); i++) ~~^~~~~~~~~~~~~~~ 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?