Borderou de evaluare (job #2694927)

Utilizator ProBatmanBalint Leonard ProBatman Data 11 ianuarie 2021 09:17:21
Problema Subsir crescator maximal Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 5

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:21:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(int j=i+1;j<=n;j++) ^~~ main.cpp:26:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' val[i] = maxim+1; ^~~ main.cpp:12:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen ("scmax.in","r",stdin); ^ main.cpp:13:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen ("scmax.out","w",stdout); ^ main.cpp:14:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ main.cpp:16:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&v[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
14ms131kbLungime incorecta!00
27ms131kbSubsir incorect!55
33ms131kbLungime incorecta!00
44ms131kbLungime incorecta!00
54ms131kbLungime incorecta!00
65ms131kbLungime incorecta!00
76ms131kbLungime incorecta!00
8301ms655kbTime limit exceeded00
9300ms655kbTime limit exceeded0
10301ms655kbTime limit exceeded0
Punctaj total5

Ceva nu functioneaza?