Borderou de evaluare (job #1723808)

Utilizator atatomirTatomir Alex atatomir Data 1 iulie 2016 16:05:18
Problema Regiuni2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void uniq(std::vector<Point>&)’: user.cpp:103:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < work.size(); i++) bad[i] = false; ^ user.cpp:104:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < work.size(); i++) ^ user.cpp:105:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j = i + 1; j < work.size(); j++) ^ user.cpp:110:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < work.size(); i++) ^ user.cpp: In function ‘void uniq2(std::vector<Segm>&)’: user.cpp:121:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < work.size(); i++) bad[i] = false; ^ user.cpp:122:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < work.size(); i++) ^ user.cpp:123:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j = i + 1; j < work.size(); j++) ^ user.cpp:128:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < work.size(); i++) ^ user.cpp:132:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (work.size() != pos) work.pop_back(); ^ user.cpp: In function ‘void rm_small(std::vector<Segm>&)’: user.cpp:139:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < work.size(); i++) { ^ user.cpp:147:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (work.size() > pos) work.pop_back(); ^ user.cpp: In function ‘void add_new_line()’: user.cpp:178:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 1; i < news.size(); i++) ^ user.cpp: In function ‘int main()’: user.cpp:187:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("regiuni2.in","r",stdin); ^ user.cpp:188:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("regiuni2.out","w",stdout); ^ user.cpp:190:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &t); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms540kbIncorect0
Punctaj total0

Ceva nu functioneaza?