Borderou de evaluare (job #1263620)
Utilizator | Data | 14 noiembrie 2014 23:20:03 | |
---|---|---|---|
Problema | Trompeta | Status | done |
Runda | Teme Pregatire ACM Unibuc 2014, Anul I | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:24: error: ‘k’ was not declared in this scope
long int n, m, i = k = 0;
^
user.cpp:21:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (n-i+st.size() == m)
^
user.cpp:27:66: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while ( !st.empty() && st.top()<v[i] && n-i-1+st.size()>=m )
^
user.cpp:29:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (st.size()<m)
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !