Pagini recente » Borderou de evaluare (job #2001478) | Borderou de evaluare (job #1606619) | Borderou de evaluare (job #2330706) | Borderou de evaluare (job #1313227) | Borderou de evaluare (job #1723795)
Borderou de evaluare (job #1723795)
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 rm_small(std::vector<Segm>&)’:
user.cpp:121:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < work.size(); i++) {
^
user.cpp:129: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:160: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:169: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:170: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:172:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:174:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
user.cpp: In member function ‘void Point::read()’:
user.cpp:25:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf%lf", &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 524kb | Incorect | 0 |
Punctaj total | 0 |