Borderou de evaluare (job #2546367)

Utilizator MoldovanAndrei1Moldovan Andrei MoldovanAndrei1 Data 14 februarie 2020 09:25:59
Problema Subsir crescator maximal Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

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
1300ms2097kbTime limit exceeded00
2303ms2490kbTime limit exceeded00
3300ms2359kbTime limit exceeded00
4303ms2621kbTime limit exceeded00
5303ms2359kbTime limit exceeded00
6300ms2359kbTime limit exceeded00
7303ms2490kbTime limit exceeded00
8303ms2490kbTime limit exceeded00
9303ms2490kbTime limit exceeded0
10300ms2228kbTime limit exceeded0
Punctaj total0

Ceva nu functioneaza?