16 条题解
- 1
信息
- ID
- 24
- 时间
- 1000ms
- 内存
- 16MiB
- 难度
- 3
- 标签
- 递交数
- 539
- 已通过
- 296
- 上传者
So easy
#include <iostream>
using namespace std;
int main()
{
int m,n;
cin >> m >> n;
if (m%n==0)
{
cout << m/n;
}
else
{
cout << m/n+1;
}
return 0;
}
#include <iostream>
using namespace std;
int main()
{
int m, n;
cin >> m >> n;
if (m % n == 0)
{
cout << m / n;
}
else
{
cout << m / n + 1;
}
return 0;
}
#include <bits/stdc++.h>
using namespace std;
#define ll long long
int main(){
cout<<4;
return 0;
}
你占这么多空间干嘛?
#include <bits/stdc++.h>
using namespace std;
#define ll long long
int main(){
cout<<4;
return 0;
}
对不起
#include <bits/stdc++.h>
using namespace std;
#define ll long long
int main(){
cout<<4;
return 0;
}
你逼的我骂你:
#include <bits/stdc++.h>
using namespace std;
#define ll long long
int main(){
cout<<4;
return 0;
}
显!
#include <bits/stdc++.h>
using namespace std;
#define ll long long
int main(){
cout<<4;
return 0;
}
眼!
#include <bits/stdc++.h>
using namespace std;
#define ll long long
int main(){
cout<<4;
return 0;
}
包!
#include<iostream> using namespace std; int main() { int a,b,n,m; cin>>a>>b; n=a/b; m=n*b; if(m>=a) { cout<<n; } else { cout<<n+1; } return 0; }
#include <iostream>
using namespace std;
int main()
{
int m;
int n;
cin>>m;
cin>>n;
if (m%n==0)
{
cout<<m/n;
}
else
{
cout<<m/n+1;
}
return 0;
}
#include<bits/stdc++.h>
using namespace std;
int main()
{
int m;
int n;
cin >> m >> n;
if ( m%n==0 )
cout << m/n ;
else
cout << m/n+1 ;
return 0;
}
#include <iostream>
using namespace std;
int main()
{
int m, n;
cin >> m >> n;
if(m % n == 0)
cout << m / n;
else
cout << m / n + 1;
return 0;
}