Pagini recente » Borderou de evaluare (job #2313555) | Borderou de evaluare (job #1553903) | Borderou de evaluare (job #1802631) | Borderou de evaluare (job #102307) | Borderou de evaluare (job #1451497)
Borderou de evaluare (job #1451497)
Raport evaluator
Compilare:
user.cpp: In function ‘bool sorting(eu, eu)’:
user.cpp:9:25: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if(a.g>b.g||a.g==b.g&&a.h>b.h)
^
user.cpp: In function ‘int main()’:
user.cpp:15:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cuburi3.in","r",stdin);
^
user.cpp:16:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cuburi3.out","w",stdout);
^
user.cpp:17:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:20:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&v[i].h,&v[i].g);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 276kb | OK | 10 |
2 | 0ms | 280kb | OK | 10 |
3 | 0ms | 272kb | OK | 10 |
4 | 0ms | 280kb | OK | 10 |
5 | 0ms | 284kb | OK | 10 |
6 | 0ms | 284kb | OK | 10 |
7 | 0ms | 292kb | OK | 10 |
8 | 0ms | 288kb | OK | 10 |
9 | 4ms | 300kb | OK | 10 |
10 | 48ms | 352kb | OK | 10 |
Punctaj total | 100 |