Pagini recente » Borderou de evaluare (job #814490) | Borderou de evaluare (job #2403722) | Borderou de evaluare (job #1466970) | Borderou de evaluare (job #2326268) | Borderou de evaluare (job #1442023)
Borderou de evaluare (job #1442023)
Raport evaluator
Compilare:
user.cpp: In member function ‘bool MinPoints(int*, int*, int)::point::operator<(const MinPoints(int*, int*, int)::point&) const’:
user.cpp:21:48: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
return x < other.x || x == other.x && y > other.y;
^
user.cpp: In function ‘int main()’:
user.cpp:76:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("comentariu.in", "r", stdin);
^
user.cpp:77:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("comentariu.out", "w", stdout);
^
user.cpp:80:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &nrt);
^
user.cpp:85:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:88:50: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &start[i], &finish[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 1844ms | 8096kb | Incorect | 0 |
Punctaj total | 0 |