Borderou de evaluare (job #2209419)

Utilizator georgitTreista Georgiana georgit Data 3 iunie 2018 13:00:01
Problema Bool Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘std::__cxx11::string reversepolishnotation(char*)’: user.cpp:34:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0;i< strlen(exp);i++) ~^~~~~~~~~~~~~ user.cpp: In function ‘int value(std::__cxx11::string)’: user.cpp:97:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<postfix.size();i++) ~^~~~~~~~~~~~~~~ user.cpp:101:32: warning: array subscript has type ‘char’ [-Wchar-subscripts] S.push(V[postfix[i]]); ^ user.cpp:95:9: warning: unused variable ‘answer’ [-Wunused-variable] int answer=0; ^~~~~~ user.cpp: In function ‘int main()’: user.cpp:137:12: warning: array subscript has type ‘char’ [-Wchar-subscripts] V[c]=1-V[c]; ^ user.cpp:137:19: warning: array subscript has type ‘char’ [-Wchar-subscripts] V[c]=1-V[c]; ^ user.cpp: In function ‘int val(int, int, char)’: user.cpp:92:1: warning: control reaches end of non-void function [-Wreturn-type] } ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1388kbIncorect0
20ms1384kbIncorect0
30ms1392kbIncorect0
40ms1384kbIncorect0
50ms1388kbIncorect0
60ms1384kbIncorect0
70ms1392kbIncorect0
80ms1388kbIncorect0
90ms1384kbIncorect0
100ms1388kbIncorect0
Punctaj total0

Ceva nu functioneaza?