Borderou de evaluare (job #1152715)
Utilizator | Data | 24 martie 2014 21:41:59 | |
---|---|---|---|
Problema | Johnie | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void GetCycle()’:
user.cpp:19:12: error: request for member ‘push’ in ‘st’, which is of non-class type ‘int [100099]’
for(st.push(0); !st.empty(); )
^
user.cpp:19:25: error: request for member ‘empty’ in ‘st’, which is of non-class type ‘int [100099]’
for(st.push(0); !st.empty(); )
^
user.cpp:21:22: error: request for member ‘top’ in ‘st’, which is of non-class type ‘int [100099]’
int node= st.top();
^
user.cpp:25:16: error: request for member ‘push’ in ‘st’, which is of non-class type ‘int [100099]’
st.push(last);
^
user.cpp:31:16: error: request for member ‘pop’ in ‘st’, which is of non-class type ‘int [100099]’
st.pop();
^
user.cpp: In function ‘int main()’:
user.cpp:56:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<sol.size();++i)
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !