Borderou de evaluare (job #1311481)

Utilizator ijustwantedtosayhiRazi Alexis ijustwantedtosayhi Data 8 ianuarie 2015 11:53:32
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:130: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
34ms636kbKilled by signal 6(SIGABRT).0
40ms428kbKilled by signal 11(SIGSEGV).0
54ms632kbKilled by signal 6(SIGABRT).0
64ms636kbKilled by signal 6(SIGABRT).0
74ms636kbKilled by signal 6(SIGABRT).0
80ms392kbKilled by signal 11(SIGSEGV).0
90ms440kbAfisarea Ingredientelor gresita3
104ms632kbKilled by signal 6(SIGABRT).0
Punctaj total3

Ceva nu functioneaza?