Pagini recente » Borderou de evaluare (job #1086385) | Borderou de evaluare (job #275067) | Borderou de evaluare (job #2940703) | Borderou de evaluare (job #631915) | Borderou de evaluare (job #2863478)
Borderou de evaluare (job #2863478)
Raport evaluator
Compilare:
main.cpp:9:8: warning: built-in function 'exp' declared as non-function [-Wbuiltin-declaration-mismatch]
9 | string exp, postfix = "";
| ^~~
main.cpp: In function 'void createPostFixExpression()':
main.cpp:21:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
21 | for (int i = 0; i < exp.length(); ++i) {
| ~~^~~~~~~~~~~~~~
main.cpp: In function 'int evaluatePostfix()':
main.cpp:72:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
72 | for (int i = 0; i < postfix.length(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
main.cpp: In function 'int priority(char)':
main.cpp:17:1: warning: control reaches end of non-void function [-Wreturn-type]
17 | }
| ^
main.cpp: In function 'int calculate(char, int, int)':
main.cpp:68:1: warning: control reaches end of non-void function [-Wreturn-type]
68 | }
| ^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 184kb | OK | 10 |
2 | 2ms | 184kb | OK | 10 |
3 | 2ms | 184kb | OK | 10 |
4 | 2ms | 184kb | OK | 10 |
5 | 2ms | 184kb | OK | 10 |
6 | 2ms | 184kb | OK | 10 |
7 | 2ms | 184kb | OK | 10 |
8 | 2ms | 184kb | OK | 10 |
9 | 6ms | 487kb | OK | 10 |
10 | 6ms | 380kb | OK | 10 |
Punctaj total | 100 |