Borderou de evaluare (job #2928847)

Utilizator TudosieRazvanTudosie Marius-Razvan TudosieRazvan Data 23 octombrie 2022 23:04:35
Problema Pali Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:33:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 33 | for (int i = 0; i < strlen(v)+3; i++) | ~~^~~~~~~~~~~~~ main.cpp:40:23: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 40 | for (int i = 0; i < strlen(v); i++) { | ~~^~~~~~~~~~~ main.cpp:42:48: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 42 | while (v[st] == v[dr] && st >= 0 && dr <= strlen(v) ) { | ~~~^~~~~~~~~~~~ main.cpp:48:48: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 48 | while (v[st] == v[dr] && st >= 0 && dr <= strlen(v) - 1 ) { | ~~~^~~~~~~~~~~~~~~~ main.cpp:54:23: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int' [-Wformat=] 54 | fprintf(fout, "%lld", dp[lung-1]); | ~~~^ ~~~~~~~~~~ | | | | | int | long long int | %d main.cpp:39:10: warning: array subscript -1 is below array bounds of 'int [5010]' [-Warray-bounds] 39 | dp[-1] = 0; | ~~~~~^ main.cpp:20:5: note: while referencing 'dp' 20 | int dp[NMAX]; | ^~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms184kbIncorect00
20ms184kbIncorect0
30ms184kbIncorect0
40ms184kbIncorect0
50ms184kbIncorect0
60ms184kbIncorect0
70ms184kbIncorect0
80ms184kbIncorect0
90ms184kbIncorect0
100ms184kbIncorect0
Punctaj total0

Ceva nu functioneaza?