Borderou de evaluare (job #1311479)

Utilizator ijustwantedtosayhiRazi Alexis ijustwantedtosayhi Data 8 ianuarie 2015 11:52:13
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:128:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms396kbKilled by signal 11(SIGSEGV).0
20ms396kbKilled by signal 11(SIGSEGV).0
34ms632kbKilled by signal 6(SIGABRT).0
40ms432kbKilled by signal 11(SIGSEGV).0
54ms636kbKilled by signal 6(SIGABRT).0
64ms636kbKilled by signal 6(SIGABRT).0
70ms396kbKilled by signal 11(SIGSEGV).0
80ms396kbKilled by signal 11(SIGSEGV).0
90ms444kbAfisarea Ingredientelor gresita3
100ms392kbKilled by signal 11(SIGSEGV).0
Punctaj total3

Ceva nu functioneaza?