摘要:
#include <cstdio> #include <algorithm> using namespace std; #define SIZE 205 struct Data_Type { int from, to; bool flag; }moving[SIZE]; bool Cmp(const 阅读全文
posted @ 2017-01-16 23:19
王坤1993
阅读(198)
评论(0)
推荐(0)
摘要:
#include<stdio.h>int main(){ int n,u,d; while(scanf("%d%d%d",&n,&u,&d),n) { int t=(n-u)/(u-d); if(t*(u-d)<(n-u)) t++; t*=2; t++; printf("%d\n",t); } r 阅读全文
posted @ 2017-01-16 23:17
王坤1993
阅读(152)
评论(0)
推荐(0)
摘要:
#include<stdio.h>#include<string.h>#include<iostream>using namespace std;int main(){ //freopen("test.in","r",stdin); //freopen("test.out","w",stdout); 阅读全文
posted @ 2017-01-16 23:16
王坤1993
阅读(105)
评论(0)
推荐(0)
摘要:
#include<stdio.h>#include<string>#include<iostream>using namespace std; //高精度加法//只能是两个正数相加string add(string str1,string str2)//高精度加法{ string str; int 阅读全文
posted @ 2017-01-16 23:14
王坤1993
阅读(135)
评论(0)
推荐(0)
摘要:
#include<iostream> #include<cmath> using namespace std; int main() { int T,t=0,m,n; cin>>T; while(T--) { cin>>m>>n; cout<<"Scenario #"<<++t<<":"<<endl 阅读全文
posted @ 2017-01-16 20:37
王坤1993
阅读(150)
评论(0)
推荐(0)

浙公网安备 33010602011771号