Pagini recente » Borderou de evaluare (job #3192571) | Borderou de evaluare (job #296962) | Borderou de evaluare (job #1104908) | Borderou de evaluare (job #745966) | Borderou de evaluare (job #3284313)
Borderou de evaluare (job #3284313)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:34:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
34 | while(i<s.size())
| ~^~~~~~~~~
main.cpp:53:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
53 | while(i<s.size() && isdigit(s[i])) val=val*10 +s[i]-48, i++; i--;
| ~^~~~~~~~~
main.cpp:53:13: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
53 | while(i<s.size() && isdigit(s[i])) val=val*10 +s[i]-48, i++; i--;
| ^~~~~
main.cpp:53:74: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
53 | while(i<s.size() && isdigit(s[i])) val=val*10 +s[i]-48, i++; i--;
| ^
main.cpp:55:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
55 | if(i+1<s.size() && s[i+1]!=')')
| ~~~^~~~~~~~~
main.cpp: In function 'int priority(char)':
main.cpp:19:1: warning: control reaches end of non-void function [-Wreturn-type]
19 | }
| ^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 303kb | OK | 10 |
2 | 0ms | 303kb | OK | 10 |
3 | 0ms | 303kb | OK | 10 |
4 | 0ms | 303kb | Incorect | 0 |
5 | 0ms | 303kb | Incorect | 0 |
6 | 0ms | 303kb | OK | 10 |
7 | 0ms | 303kb | Incorect | 0 |
8 | 3ms | 409kb | Killed by Signal 8 | 0 |
9 | 0ms | 557kb | OK | 10 |
10 | 1ms | 557kb | Incorect | 0 |
Punctaj total | 50 |