Pagini recente » Borderou de evaluare (job #182651) | Borderou de evaluare (job #241709) | Borderou de evaluare (job #2440899) | Borderou de evaluare (job #1587989) | Borderou de evaluare (job #3126310)
Borderou de evaluare (job #3126310)
Raport evaluator
Compilare:
main.cpp: In function 'int isBalanced(std::string)':
main.cpp:18:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
18 | for(int i = 0; i < s.length(); i++)
| ~~^~~~~~~~~~~~
main.cpp:57:21: warning: ignoring return value of 'bool std::stack<_Tp, _Sequence>::empty() const [with _Tp = char; _Sequence = std::deque<char, std::allocator<char> >]', declared with attribute 'nodiscard' [-Wunused-result]
57 | st.empty();
| ~~~~~~~~^~
In file included from /usr/include/c++/12.2.1/stack:61,
from main.cpp:2:
/usr/include/c++/12.2.1/bits/stl_stack.h:217:7: note: declared here
217 | empty() const
| ^~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 303kb | Incorect | 0 |
2 | 0ms | 303kb | Incorect | 0 |
3 | 0ms | 303kb | Incorect | 0 |
4 | 0ms | 303kb | Incorect | 0 |
5 | 0ms | 303kb | Incorect | 0 |
6 | 0ms | 303kb | Incorect | 0 |
7 | 0ms | 303kb | Incorect | 0 |
8 | 0ms | 303kb | Incorect | 0 |
9 | 0ms | 303kb | Incorect | 0 |
10 | 0ms | 303kb | Incorect | 0 |
11 | 0ms | 303kb | Incorect | 0 |
12 | 0ms | 303kb | Incorect | 0 |
13 | 0ms | 303kb | Incorect | 0 |
14 | 0ms | 303kb | Incorect | 0 |
15 | 0ms | 303kb | Incorect | 0 |
16 | 0ms | 303kb | Incorect | 0 |
17 | 0ms | 303kb | Incorect | 0 |
18 | 0ms | 303kb | Incorect | 0 |
19 | 0ms | 303kb | Incorect | 0 |
20 | 0ms | 303kb | Incorect | 0 |
Punctaj total | 0 |