Pagini recente » Borderou de evaluare (job #2517784) | Borderou de evaluare (job #2267210) | Borderou de evaluare (job #2118071) | Borderou de evaluare (job #2067922) | Borderou de evaluare (job #1670992)
Borderou de evaluare (job #1670992)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:39:5: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(v[i].y>r)
^
user.cpp:17:18: warning: variable ‘ok’ set but not used [-Wunused-but-set-variable]
int a,b,n,i,l,r,ok,nr;
^
user.cpp:18:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dunarea.in","r",stdin);
^
user.cpp:19:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dunarea.out","w",stdout);
^
user.cpp:20:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&a,&b,&n);
^
user.cpp:23:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&v[i].x,&v[i].y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 256kb | Incorect | 0 |
2 | 0ms | 256kb | OK | 10 |
3 | 0ms | 256kb | OK | 10 |
4 | 0ms | 260kb | OK | 10 |
5 | 0ms | 268kb | OK | 10 |
6 | 0ms | 272kb | OK | 10 |
7 | 0ms | 264kb | OK | 10 |
8 | 0ms | 288kb | OK | 10 |
9 | 0ms | 276kb | OK | 10 |
10 | 0ms | 256kb | OK | 10 |
Punctaj total | 90 |