Pagini recente » Borderou de evaluare (job #1323934) | Borderou de evaluare (job #2790371) | Borderou de evaluare (job #2498593) | Borderou de evaluare (job #2889556) | Borderou de evaluare (job #2546351)
Borderou de evaluare (job #2546351)
Raport evaluator
Compilare:
main.cpp: In function 'void update(int, int, int, int, int)':
main.cpp:12:13: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
else
^~~~
main.cpp:14:17: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else'
arbint[nod]=max(arbint[2*nod],arbint[2*nod+1]);
^~~~~~
main.cpp: In function 'int main()':
main.cpp:32:15: warning: unused variable 'j' [-Wunused-variable]
int n,m,i,j;
^
main.cpp:30:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("arbint.in","r",stdin);
^
main.cpp:31:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("arbint.out","w",stdout);
^
main.cpp:33:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
main.cpp:36:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
main.cpp:42:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&x1,&y1,&z1);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 131kb | OK | 10 | 10 |
2 | 18ms | 212kb | OK | 10 | 10 |
3 | 16ms | 131kb | OK | 10 | 10 |
4 | 46ms | 262kb | OK | 10 | 10 |
5 | 81ms | 1572kb | OK | 10 | 10 |
6 | 102ms | 1572kb | OK | 10 | 50 |
7 | 227ms | 2228kb | OK | 10 |
8 | 203ms | 1835kb | OK | 10 |
9 | 184ms | 1835kb | OK | 10 |
10 | 214ms | 1966kb | OK | 10 |
Punctaj total | 100 |