Borderou de evaluare (job #2222569)

Utilizator Coroian_DavidCoroian David Coroian_David Data 17 iulie 2018 12:50:43
Problema Puzzle3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 65

Raport evaluator

Compilare: user.cpp: In function ‘void baga(int*)’: user.cpp:29:26: warning: ‘sizeof’ on array function parameter ‘a’ will return size of ‘int*’ [-Wsizeof-array-argument] memset(a, 0, sizeof(a)); ^ user.cpp:27:17: note: declared here void baga(int a[]) ^ user.cpp:29:24: warning: argument to ‘sizeof’ in ‘void* memset(void*, int, size_t)’ call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] memset(a, 0, sizeof(a)); ^ user.cpp:34:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i = 0; i < s.size(); i ++) ~~^~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
148ms7524kbKilled by signal 6(SIGABRT).0
232ms7452kbCorect5
34ms7524kbKilled by signal 6(SIGABRT).0
44ms7476kbCorect5
54ms7480kbCorect5
64ms7552kbKilled by signal 6(SIGABRT).0
74ms7488kbCorect5
84ms7484kbCorect5
98ms7996kbKilled by signal 6(SIGABRT).0
1024ms7828kbCorect5
1132ms7972kbCorect5
1224ms7976kbCorect5
1332ms7968kbCorect5
1432ms9956kbKilled by signal 6(SIGABRT).0
1532ms9992kbKilled by signal 6(SIGABRT).0
1632ms10024kbKilled by signal 6(SIGABRT).0
17148ms9980kbCorect5
18148ms9980kbCorect5
19144ms9980kbCorect5
20136ms9980kbCorect5
Punctaj total65

Ceva nu functioneaza?