Borderou de evaluare (job #2133669)

Utilizator razvanradulescuRadulescu Razvan razvanradulescu Data 17 februarie 2018 10:52:20
Problema Subsir crescator maximal Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘void rez()’: user.cpp:14:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d ", &a[i]); ^ user.cpp:34:36: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] printf("%d\n%d ", maxim, a[poz]); ^ user.cpp:41:33: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d ", a[poz]); ^ user.cpp:11:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &n); ^ user.cpp:14:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ", &a[i]); ^ user.cpp: In function ‘int main()’: user.cpp:48: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:49: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); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
14ms1528kbCorect!1010
212ms1536kbCorect!1010
30ms1516kbKilled by signal 11(SIGSEGV).00
44ms1516kbKilled by signal 11(SIGSEGV).00
54ms1520kbKilled by signal 11(SIGSEGV).00
68ms1528kbKilled by signal 11(SIGSEGV).00
712ms1528kbKilled by signal 11(SIGSEGV).00
8Depăşit2316kbTime limit exceeded.00
9Depăşit2360kbTime limit exceeded.0
10Depăşit2316kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?