Pagini recente » Cod sursa (job #2811348) | Borderou de evaluare (job #452131) | Borderou de evaluare (job #1695076) | Borderou de evaluare (job #2039953) | Borderou de evaluare (job #1974447)
Borderou de evaluare (job #1974447)
Raport evaluator
Compilare:
user.cpp: In member function ‘bool cmp::operator()(const Point&, const Point&) const’:
user.cpp:30:40: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if(p1.x < p2.x || p1.x == p2.x && p1.y < p2.y)
^
user.cpp: In function ‘int main()’:
user.cpp:48:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("infasuratoare.in", "r", stdin);
^
user.cpp:49:46: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("infasuratoare.out", "w", stdout);
^
user.cpp:51:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &N);
^
user.cpp:54: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 | 2276kb | Corect | 10 |
| 2 | 0ms | 2280kb | Corect | 10 |
| 3 | 28ms | 2636kb | Corect | 10 |
| 4 | 28ms | 2500kb | Corect | 10 |
| 5 | 28ms | 2636kb | Corect | 10 |
| 6 | 184ms | 4204kb | Corect | 10 |
| 7 | 184ms | 4204kb | Corect | 10 |
| 8 | 184ms | 4208kb | Corect | 10 |
| 9 | 184ms | 4204kb | Corect | 10 |
| 10 | 188ms | 4204kb | Corect | 10 |
| Punctaj total | 100 |