Borderou de evaluare (job #2255868)

Utilizator radugheoRadu Mihai Gheorghe radugheo Data 7 octombrie 2018 17:41:57
Problema Reteta2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 6

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:22:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i=0; i<strlen(s); i++){ ~^~~~~~~~~~ user.cpp:23:25: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if (s[i] >= 'a' && s[i] <= 'z' || s[i] >= '0' && s[i] <= '9'){ ~~~~~~~~~~~~^~~~~~~~~~~~~~ user.cpp:42:58: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while (s[i+1] >= '0' && s[i+1] <= '9' && i+1 <= strlen(s)){ ~~~~^~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1384kbAfisarea Ingredientelor gresita3
20ms1384kbAfisarea Ingredientelor gresita3
30ms1388kbKilled by signal 11(SIGSEGV).0
40ms1384kbKilled by signal 11(SIGSEGV).0
50ms1388kbKilled by signal 11(SIGSEGV).0
60ms1384kbKilled by signal 11(SIGSEGV).0
70ms1384kbKilled by signal 11(SIGSEGV).0
80ms1388kbKilled by signal 11(SIGSEGV).0
90ms1388kbKilled by signal 11(SIGSEGV).0
100ms1384kbKilled by signal 11(SIGSEGV).0
Punctaj total6

Ceva nu functioneaza?