Problem round_up_division
User Codebreaker
Submission Time 2026-04-15 17:40:10
Score 0
Max Time N/A
Max Memory N/A

Compile Error

round_up_division.cpp:3:5: error: cannot declare ‘::main’ to be a global variable
3 | int main {
| ^~~~
round_up_division.cpp:4:2: error: expected primary-expression before ‘int’
4 | int x, y;
| ^~~
round_up_division.cpp:4:2: error: expected ‘}’ before ‘int’
round_up_division.cpp:3:10: note: to match this ‘{’
3 | int main {
| ^
round_up_division.cpp:5:2: error: ‘cin’ does not name a type
5 | cin >> x >> y;
| ^~~
round_up_division.cpp:6:2: error: ‘cout’ does not name a type
6 | cout << x/y
| ^~~~
round_up_division.cpp:7:1: error: expected declaration before ‘}’ token
7 | }
| ^