Borderou de evaluare (job #1311488)

Utilizator ijustwantedtosayhiRazi Alexis ijustwantedtosayhi Data 8 ianuarie 2015 11:58:06
Problema Reteta2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 3

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:23:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while(i<strlen(input)){ ^ user.cpp:26:31: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if (isdigit(input[i]) && input[i - 1] == ')' || isdigit(input[i]) && input[i - 2] == ')') ^ user.cpp:36:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while(i < strlen(input)) ^ user.cpp:48:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while(i < strlen(input)) ^ user.cpp: In function ‘int gasesteTimpul(char*)’: user.cpp:66:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while(i<strlen(c)){ ^ user.cpp:70:27: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if (isdigit(c[i]) && c[i - 1] == ')' || isdigit(c[i]) && c[i - 2] == ')') ^ user.cpp: In function ‘int gasesteCuvintele(char*, int)’: user.cpp:132:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms388kbKilled by signal 11(SIGSEGV).0
20ms392kbKilled by signal 11(SIGSEGV).0
34ms628kbKilled by signal 6(SIGABRT).0
40ms428kbKilled by signal 11(SIGSEGV).0
54ms628kbKilled by signal 6(SIGABRT).0
60ms392kbKilled by signal 11(SIGSEGV).0
74ms628kbKilled by signal 6(SIGABRT).0
80ms388kbKilled by signal 11(SIGSEGV).0
90ms440kbAfisarea Ingredientelor gresita3
104ms628kbKilled by signal 6(SIGABRT).0
Punctaj total3

Ceva nu functioneaza?