Problem round_up_division
User Ros
Submission Time 2025-06-17 11:13:38
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:21: error: expected identifier before ‘(’ token
9 | if (n >= 1) and (d <= 10*12)
| ^
round_up_division.cpp:13:23: error: expected primary-expression before ‘double’
13 | else if ( n % d = double num)
| ^~~~~~
round_up_division.cpp:13:22: error: expected ‘)’ before ‘double’
13 | else if ( n % d = double num)
| ~ ^~~~~~~
| )