Pagini recente » Borderou de evaluare (job #263625) | Borderou de evaluare (job #107905) | Borderou de evaluare (job #3036673) | Borderou de evaluare (job #2971470) | Borderou de evaluare (job #1777411)
Borderou de evaluare (job #1777411)
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 | 472kb | OK | 5 |
2 | 0ms | 472kb | OK | 5 |
3 | 0ms | 472kb | OK | 5 |
4 | 0ms | 468kb | OK | 5 |
5 | 0ms | 472kb | OK | 5 |
6 | 0ms | 476kb | OK | 5 |
7 | 0ms | 472kb | OK | 5 |
8 | 4ms | 476kb | OK | 5 |
9 | 8ms | 472kb | OK | 5 |
10 | 8ms | 476kb | OK | 5 |
11 | 72ms | 476kb | OK | 5 |
12 | 76ms | 472kb | OK | 5 |
13 | 72ms | 472kb | OK | 5 |
14 | 84ms | 472kb | OK | 5 |
15 | 88ms | 472kb | OK | 5 |
16 | 92ms | 468kb | OK | 5 |
17 | 100ms | 472kb | OK | 5 |
18 | 100ms | 472kb | OK | 5 |
19 | 128ms | 472kb | OK | 5 |
20 | 132ms | 476kb | OK | 5 |
Punctaj total | 100 |