Pagini recente » Borderou de evaluare (job #361638) | Borderou de evaluare (job #1662950) | Borderou de evaluare (job #2066781) | Borderou de evaluare (job #648874) | Borderou de evaluare (job #2487366)
Borderou de evaluare (job #2487366)
Raport evaluator
Compilare:
main.cpp: In function 'int preced(char)':
main.cpp:12:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(op=='*' or op=='/')
^~
main.cpp:14:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
return 0;
^~~~~~
main.cpp: In function 'int eval(std::__cxx11::string)':
main.cpp:27:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<tokens.length();i++){
~^~~~~~~~~~~~~~~~
main.cpp:34:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(i<tokens.length() && isdigit(tokens[i]))
~^~~~~~~~~~~~~~~~
main.cpp: In function 'int Calcul(int, int, char)':
main.cpp:22:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Incorect | 0 |
2 | 2ms | 131kb | Incorect | 0 |
3 | 2ms | 131kb | Incorect | 0 |
4 | 2ms | 131kb | Incorect | 0 |
5 | 2ms | 131kb | Incorect | 0 |
6 | 2ms | 131kb | Incorect | 0 |
7 | 2ms | 131kb | Incorect | 0 |
8 | 3ms | 131kb | Incorect | 0 |
9 | 2ms | 131kb | Incorect | 0 |
10 | 2ms | 131kb | Incorect | 0 |
Punctaj total | 0 |