Problem | round_up_division |
---|---|
User | om2024 |
Submission Time | 2025-07-03 16:03:30 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
round_up_division.cpp: In function ‘int main()’:
round_up_division.cpp:4:17: error: declaration does not declare anything [-fpermissive]
4 | #define ll long long;
| ^~~~
round_up_division.cpp:7:2: note: in expansion of macro ‘ll’
7 | ll n,d; cin >> n >> d;
| ^~
round_up_division.cpp:7:5: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
7 | ll n,d; cin >> n >> d;
| ^
| yn
round_up_division.cpp:7:7: error: ‘d’ was not declared in this scope
7 | ll n,d; cin >> n >> d;
| ^
round_up_division.cpp:4:17: error: declaration does not declare anything [-fpermissive]
4 | #define ll long long;
| ^~~~
round_up_division.cpp:9:3: note: in expansion of macro ‘ll’
9 | ll answer = n/d;
| ^~
round_up_division.cpp:9:6: error: ‘answer’ was not declared in this scope
9 | ll