Borderou de evaluare (job #1311478)

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

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:136:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms384kbKilled by signal 11(SIGSEGV).0
20ms384kbKilled by signal 11(SIGSEGV).0
34ms624kbKilled by signal 6(SIGABRT).0
40ms380kbKilled by signal 11(SIGSEGV).0
50ms380kbKilled by signal 11(SIGSEGV).0
64ms620kbKilled by signal 6(SIGABRT).0
70ms380kbKilled by signal 11(SIGSEGV).0
80ms380kbKilled by signal 11(SIGSEGV).0
94ms604kbKilled by signal 11(SIGSEGV).0
100ms380kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?