Create 3560.cpp

pull/45/head
Kirigaya Kazuto 2016-10-07 21:32:47 +08:00 committed by GitHub
parent 034db07904
commit f0e9ba9388
1 changed files with 17 additions and 0 deletions

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;
}