Borderou de evaluare (job #2376469)

Utilizator aditzu7Adrian Capraru aditzu7 Data 8 martie 2019 15:51:03
Problema Subsir crescator maximal Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:21:34: 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:22:36: 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:23:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ main.cpp:24:41: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] for(i=1;i<=n;i++) {scanf("%d",&v[i]);mmax=max(mmax,v[i]);} ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
13ms131kbLungime incorecta!00
23ms131kbLungime incorecta!00
33ms131kbLungime incorecta!00
43ms131kbLungime incorecta!00
53ms131kbLungime incorecta!00
63ms131kbLungime incorecta!00
73ms131kbLungime incorecta!00
865ms917kbLungime incorecta!00
952ms917kbLungime incorecta!0
1060ms917kbLungime incorecta!0
Punctaj total0

Ceva nu functioneaza?