Pagini recente » Borderou de evaluare (job #1006590) | Borderou de evaluare (job #834772) | Borderou de evaluare (job #2767982) | Borderou de evaluare (job #1562480) | Borderou de evaluare (job #2705060)
Borderou de evaluare (job #2705060)
Raport evaluator
Compilare:
main.cpp: In function 'std::__cxx11::string read(std::__cxx11::string&, int&)':
main.cpp:32:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (p < s.size() && isdigit(s[p])) {
~~^~~~~~~~~~
main.cpp: In function 'std::vector<std::__cxx11::basic_string<char> > infix_to_postfix(std::__cxx11::string)':
main.cpp:53:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (; p < s.size(); ) {
~~^~~~~~~~~~
main.cpp: In function 'int evaluate_postfix(std::vector<std::__cxx11::basic_string<char> >)':
main.cpp:86:9: warning: unused variable 'ans' [-Wunused-variable]
int ans = 0, a, b;
^~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 2ms | 131kb | OK | 10 |
4 | 2ms | 131kb | OK | 10 |
5 | 2ms | 131kb | OK | 10 |
6 | 3ms | 131kb | OK | 10 |
7 | 3ms | 393kb | OK | 10 |
8 | 4ms | 393kb | OK | 10 |
9 | 19ms | 2609kb | OK | 10 |
10 | 20ms | 2609kb | OK | 10 |
Punctaj total | 100 |