Pagini recente » Borderou de evaluare (job #2608800) | Borderou de evaluare (job #282610) | Borderou de evaluare (job #402181) | Borderou de evaluare (job #3200946) | Borderou de evaluare (job #1714701)
Borderou de evaluare (job #1714701)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:35: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
v[i&1]=getmax(v[i&1]+x,v[1-i&1]);
^
user.cpp:12:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d%d" ,&n,&v[0]);
^
user.cpp:14:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d" ,&v[1]);
^
user.cpp:16:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d" ,&x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 260kb | OK | 10 |
2 | 0ms | 260kb | OK | 10 |
3 | 0ms | 264kb | OK | 10 |
4 | 0ms | 268kb | Incorect | 0 |
5 | 4ms | 264kb | OK | 10 |
6 | 4ms | 264kb | OK | 10 |
7 | 8ms | 260kb | OK | 10 |
8 | 20ms | 256kb | OK | 10 |
9 | 32ms | 268kb | OK | 10 |
10 | 44ms | 260kb | OK | 10 |
Punctaj total | 90 |