Pagini recente » Borderou de evaluare (job #2446967) | Borderou de evaluare (job #180279) | Borderou de evaluare (job #3135941) | Borderou de evaluare (job #3288801) | Borderou de evaluare (job #3284316)
Borderou de evaluare (job #3284316)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:35:12: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
35 | while(i<s.size())
| ~^~~~~~~~~
main.cpp:48:19: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
48 | if(i+1<s.size() && s[i+1]!=')')
| ~~~^~~~~~~~~
main.cpp:56:20: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
56 | while(i<s.size() && isdigit(s[i])) val=val*10 +s[i]-48, i++; i--;
| ~^~~~~~~~~
main.cpp:56:13: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
56 | while(i<s.size() && isdigit(s[i])) val=val*10 +s[i]-48, i++; i--;
| ^~~~~
main.cpp:56:74: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
56 | while(i<s.size() && isdigit(s[i])) val=val*10 +s[i]-48, i++; i--;
| ^
main.cpp:58:19: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
58 | if(i+1<s.size() && s[i+1]!=')')
| ~~~^~~~~~~~~
main.cpp: In function 'long long int priority(char)':
main.cpp:20:1: warning: control reaches end of non-void function [-Wreturn-type]
20 | }
| ^
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 | OK | 10 |
5 | 0ms | 303kb | OK | 10 |
6 | 0ms | 303kb | OK | 10 |
7 | 0ms | 303kb | OK | 10 |
8 | 0ms | 303kb | OK | 10 |
9 | 1ms | 557kb | OK | 10 |
10 | 1ms | 557kb | Incorect | 0 |
Punctaj total | 90 |