Pagini recente » Borderou de evaluare (job #2850653) | Borderou de evaluare (job #1522706) | Borderou de evaluare (job #1209798) | Borderou de evaluare (job #1907883) | Borderou de evaluare (job #1777367)
Borderou de evaluare (job #1777367)
Raport evaluator
Compilare:
user.cpp: In function ‘bool cmp(std::pair<double, double>, std::pair<double, double>)’:
user.cpp:8:71: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
return (a.first <= b.first - 0.0001 || a.first < b.first + 0.0001 && a.second <= b.second - 0.0001);
^
user.cpp: In function ‘int main()’:
user.cpp:12:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("patrate3.in","r",stdin);
^
user.cpp:13:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("patrate3.out","w",stdout);
^
user.cpp:14:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:16:49: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf%lf",&v[i].first,&v[i].second);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 476kb | OK | 5 |
| 2 | 0ms | 476kb | OK | 5 |
| 3 | 0ms | 468kb | OK | 5 |
| 4 | 0ms | 472kb | OK | 5 |
| 5 | 0ms | 472kb | OK | 5 |
| 6 | 0ms | 472kb | OK | 5 |
| 7 | 4ms | 476kb | OK | 5 |
| 8 | 8ms | 476kb | Incorect | 0 |
| 9 | 12ms | 472kb | OK | 5 |
| 10 | 20ms | 472kb | OK | 5 |
| 11 | 136ms | 472kb | Incorect | 0 |
| 12 | 140ms | 472kb | Incorect | 0 |
| 13 | 144ms | 476kb | Incorect | 0 |
| 14 | 164ms | 476kb | Incorect | 0 |
| 15 | 168ms | 472kb | Incorect | 0 |
| 16 | 176ms | 476kb | Incorect | 0 |
| 17 | 188ms | 476kb | Incorect | 0 |
| 18 | 196ms | 476kb | Incorect | 0 |
| 19 | Depăşit | 432kb | Time limit exceeded. | 0 |
| 20 | Depăşit | 432kb | Time limit exceeded. | 0 |
| Punctaj total | 45 |