Pagini recente » Borderou de evaluare (job #2173915) | Borderou de evaluare (job #3199687) | Borderou de evaluare (job #637043) | Borderou de evaluare (job #1902969) | Borderou de evaluare (job #2546367)
Borderou de evaluare (job #2546367)
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 | 300ms | 2097kb | Time limit exceeded | 0 | 0 |
2 | 303ms | 2490kb | Time limit exceeded | 0 | 0 |
3 | 300ms | 2359kb | Time limit exceeded | 0 | 0 |
4 | 303ms | 2621kb | Time limit exceeded | 0 | 0 |
5 | 303ms | 2359kb | Time limit exceeded | 0 | 0 |
6 | 300ms | 2359kb | Time limit exceeded | 0 | 0 |
7 | 303ms | 2490kb | Time limit exceeded | 0 | 0 |
8 | 303ms | 2490kb | Time limit exceeded | 0 | 0 |
9 | 303ms | 2490kb | Time limit exceeded | 0 |
10 | 300ms | 2228kb | Time limit exceeded | 0 |
Punctaj total | 0 |