Pagini recente » Borderou de evaluare (job #2934305) | Borderou de evaluare (job #2834958) | Borderou de evaluare (job #758917) | Borderou de evaluare (job #1136944) | Borderou de evaluare (job #1723782)
Borderou de evaluare (job #1723782)
Raport evaluator
Compilare:
user.cpp: In function ‘void uniq(std::vector<Point>&)’:
user.cpp:101:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 1; i < work.size(); i++) {
^
user.cpp: In function ‘void rm_small(std::vector<Segm>&)’:
user.cpp:116:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < work.size(); i++) {
^
user.cpp:124: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:155: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:164: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:165: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:167:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:169: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 | 492kb | Incorect | 0 |
Punctaj total | 0 |