Borderou de evaluare (job #2133665)

Utilizator SoranaAureliaCatrina Sorana SoranaAurelia Data 17 februarie 2018 10:49:47
Problema Subsir crescator maximal Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:32:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d ", a[i]); ^ user.cpp:10:36: 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); ^ user.cpp:11:38: 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); ^ user.cpp:13:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:15:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld ", &a[i]); ^ user.cpp:28:19: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized] for(int i=poz+1; i<=n && vmax!=0; i++) ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms932kbCorect!1010
212ms876kbCorect!1010
30ms832kbLungime incorecta!00
40ms872kbLungime incorecta!00
50ms864kbLungime incorecta!00
60ms840kbLungime incorecta!00
70ms852kbLungime incorecta!00
844ms1988kbLungime incorecta!00
936ms1988kbCorect!10
1044ms1992kbLungime incorecta!0
Punctaj total20

Ceva nu functioneaza?