Borderou de evaluare (job #1677094)

Utilizator MDiana15Diana M MDiana15 Data 6 aprilie 2016 12:37:42
Problema Text Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:12:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0;i<=strlen(s)-1;i++) ^ user.cpp:14:40: warning: comparisons like ‘X<=Y<=Z’ do not have their mathematical meaning [-Wparentheses] if((s[i]==' '||s[i]=='-')&&('a'<=s[i+1]<='z'||'A'<=s[i+1]<='Z'))nr++; ^ user.cpp:14:58: warning: comparisons like ‘X<=Y<=Z’ do not have their mathematical meaning [-Wparentheses] if((s[i]==' '||s[i]=='-')&&('a'<=s[i+1]<='z'||'A'<=s[i+1]<='Z'))nr++; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms408kbWrong answer!0
20ms412kbWrong answer!0
30ms412kbOk!10
40ms404kbWrong answer!0
50ms404kbWrong answer!0
60ms376kbKilled by signal 8(SIGFPE).0
70ms376kbKilled by signal 11(SIGSEGV).0
80ms380kbKilled by signal 8(SIGFPE).0
90ms384kbKilled by signal 8(SIGFPE).0
1028ms428kbOk!10
Punctaj total20

Ceva nu functioneaza?