Borderou de evaluare (job #1723819)

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

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:122:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < work.size(); i++) bad[i] = false; ^ user.cpp:123:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < work.size(); i++) ^ user.cpp:124:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (j = i + 1; j < work.size(); j++) ^ user.cpp:129:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < work.size(); i++) ^ user.cpp:133: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:140:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < work.size(); i++) { ^ user.cpp:148: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:179: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:191: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:192: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:194: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
10ms516kbOK100
Punctaj total100

Ceva nu functioneaza?