```cpp
template<class t>
t ceil(t a,t b){
return a/b+(a%b?1:0);
}
```
by IamYoung2021 @ 2022-05-14 14:43:32
```cpp
int h=ceil(a/b*c);
int i=ceil(a/d*e);
int j=ceil(a/f*g);
```
↓ ↓ ↓
```cpp
int h=ceil(a,b)*c;
int i=ceil(a,d)*e;
int j=ceil(a,f)*g;
```
by IamYoung2021 @ 2022-05-14 14:47:28