Pagini recente » Borderou de evaluare (job #2374218) | Borderou de evaluare (job #2687981) | Borderou de evaluare (job #102145) | Borderou de evaluare (job #2413819) | Borderou de evaluare (job #1454355)
Borderou de evaluare (job #1454355)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:30:15: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(x!=prevdad)
^
user.cpp:55:15: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(x!=prevdad)
^
user.cpp:80:15: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(x!=prevdad)
^
user.cpp:105:15: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(x!=prevdad)
^
user.cpp:16:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bile.in","r",stdin);
^
user.cpp:17:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bile.out","w",stdout);
^
user.cpp:19:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:21:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&xx[i],&y[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 292kb | OK | 10 |
2 | 0ms | 320kb | OK | 10 |
3 | 0ms | 356kb | OK | 10 |
4 | 4ms | 536kb | OK | 10 |
5 | 12ms | 820kb | OK | 10 |
6 | 24ms | 1228kb | OK | 10 |
7 | 32ms | 1452kb | OK | 10 |
8 | 44ms | 1736kb | OK | 10 |
9 | 40ms | 1744kb | OK | 10 |
10 | 44ms | 1760kb | OK | 10 |
Punctaj total | 100 |