Borderou de evaluare (job #2674231)
| Utilizator | Data | 18 noiembrie 2020 20:37:11 | |
|---|---|---|---|
| Problema | Trompeta | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:17:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while ( !st.empty() and st.size() > k - n + i and st.top() < ch - '0' )
~~~~~~~~~~^~~~~~~~~~~
main.cpp:19:16: error: invalid use of member function 'std::stack<_Tp, _Sequence>::size_type std::stack<_Tp, _Sequence>::size() const [with _Tp = char; _Sequence = std::deque<char, std::allocator<char> >; std::stack<_Tp, _Sequence>::size_type = long unsigned int]' (did you forget the '()' ?)
if( st.size <= k)
~~~^~~~
main.cpp:10:15: warning: unused variable 'poz' [-Wunused-variable]
int n, k, poz;
^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
