Create 3560.cpp

This commit is contained in:
Kirigaya Kazuto 2016-10-07 21:32:47 +08:00 committed by GitHub
parent 034db07904
commit f0e9ba9388

17
SDUTOJ/3560.cpp Normal file
View File

@ -0,0 +1,17 @@
#include <cstdio>
#include <cstdlib>
#include <cstring>
using namespace std;
int main()
{
int t;
scanf("%d",&t);
while(t--)
{
int a,b;
scanf("%d %d",&a,&b);
printf("%d\n",a/b+!!(a%b));
}
return 0;
}