- Owner
- Alexa Tudose
- Problem
- Model E
- Contest
- MindCoding 2016 Round 1 Take Off Labs (Div. 2)
- Source
- 0.52KB
- Result
- Compile error (Non-zero exit status: 1)
Compiler output
prog.cpp:2:14: error: expected constructor, destructor, or type conversion before '(' token scanf("%d",&ans); ^ prog.cpp:3:9: error: expected unqualified-id before 'if' if(ans==0) return 0; ^ prog.cpp:4:9: error: expected unqualified-id before 'if' if(ans<0) st=mij+1; ^ prog.cpp:5:9: error: expected unqualified-id before 'else' else dr=mij-1; ^ prog.cpp:6:5: error: expected declaration before '}' token } ^