airplanes专题

Codeforces Round #476 (Div. 2) A. Paper Airplanes

点击打开题目链接 签到题 #include <iostream>using namespace std;int main(){int k,n,s,p;cin>>k>>n>>s>>p;long long sum=0;sum=(n%s!=0 ? n/s+1:n/s);sum*=k;sum=(sum%p!=0?sum/p+1:sum/p);cout<<sum<<endl;return 0;