标签:div int log class bsp logs clu color print
1 #include<stdio.h> 2 int main() 3 { 4 int n,k; 5 while(~scanf("%d%d",&n,&k)) 6 printf("%d\n",n<k?2:(n*2/k+(n*2%k?1:0))); 7 }
标签:div int log class bsp logs clu color print
原文地址:http://www.cnblogs.com/qq188380780/p/6361295.html