Borderou de evaluare (job #2062328)

Utilizator BeniLehelBeni Lehel BeniLehel Data 10 noiembrie 2017 11:14:14
Problema Subsir crescator maximal Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:11:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=] scanf("%d", &t[i]); ^ user.cpp:36:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%d ", t[mini]); ^ user.cpp:7:33: 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:8:35: 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:9:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:11:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &t[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
14ms1048kbSubsir incorect!55
216ms1052kbCorect!1010
30ms1048kbSubsir incorect!55
44ms1048kbSubsir incorect!55
54ms1048kbSubsir incorect!55
68ms1052kbSubsir incorect!55
712ms1048kbSubsir incorect!55
8Depăşit1024kbTime limit exceeded.00
9Depăşit1024kbTime limit exceeded.0
10Depăşit1020kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?