Problem round_up_division
User ethantanaki
Submission Time 2026-03-07 10:05:14
Score 0
Max Time N/A
Max Memory N/A

Compile Error

round_up_division.cpp:4:2: error: expected primary-expression before ‘int’
4 | int a, b;
| ^~~
round_up_division.cpp:3:13: error: expected ‘]’ before ‘int’
3 | int main() [
| ^
| ]
4 | int a, b;
| ~~~
round_up_division.cpp:5:2: error: ‘cin’ does not name a type; did you mean ‘sin’?
5 | cin >> a >> b;
| ^~~
| sin
round_up_division.cpp:6:2: error: ‘cout’ does not name a type
6 | cout << floor(a / b) + 1;
| ^~~~
round_up_division.cpp:7:2: error: expected unqualified-id before ‘return’
7 | return 0;
| ^~~~~~
round_up_division.cpp:8:1: error: expected declaration before ‘}’ token
8 | }
| ^