Problem round_up_division
User Ros
Submission Time 2025-06-17 10:27:28
Score 0
Max Time N/A
Max Memory N/A

Compile Error

round_up_division.cpp: In function ‘int main()’:
round_up_division.cpp:7:19: error: expected identifier before ‘(’ token
7 | if (n>=1) and (d<=10*12)
| ^
round_up_division.cpp:10:17: error: lvalue required as left operand of assignment
10 | if (n % d = 0)
| ^
round_up_division.cpp:12:21: error: expected primary-expression before ‘==’ token
12 | else if (n % d) == double num
| ^~
round_up_division.cpp:12:24: error: expected primary-expression before ‘double’
12 | else if (n % d) == double num
| ^~~~~~