Problem round_up_division
User Avinash
Submission Time 2025-06-18 05:40:59
Score 0
Max Time N/A
Max Memory N/A

Compile Error

round_up_division.cpp: In function ‘int main()’:
round_up_division.cpp:9:17: error: expected ‘;’ before ‘)’ token
9 | for (n % d != 0) {
| ^
| ;
round_up_division.cpp:13:2: error: expected primary-expression before ‘return’
13 | return 0;
| ^~~~~~
round_up_division.cpp:12:14: error: expected ‘)’ before ‘return’
12 | cout << ans;
| ^
| )
13 | return 0;
| ~~~~~~
round_up_division.cpp:9:6: note: to match this ‘(’
9 | for (n % d != 0) {
| ^