摘要:
time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output Running with barriers on the circle ... 阅读全文
posted @ 2017-10-04 18:45
AWCXV
阅读(206)
评论(0)
推荐(0)
摘要:
time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output On her way to programming school tig... 阅读全文
posted @ 2017-10-04 18:45
AWCXV
阅读(223)
评论(0)
推荐(0)
摘要:
Time Limit: 1 second Memory Limit: 128 MB【问题描述】有了防护伞,并不能完全避免2012的灾难。地球防卫小队决定去求助外星种族的帮助。经过很长时间的努力,小队终于收到了外星 生命的回信。但是外星人发过来的却是一串密码。只有解开密码,才能知道外星... 阅读全文
posted @ 2017-10-04 18:45
AWCXV
阅读(542)
评论(0)
推荐(0)
摘要:
Time Limit: 1 second Memory Limit: 64 MB【问题描述】奶牛们刚学习完地理课,知道地球是个球。他们非常震惊,满脑子都是球形。他们试图把地球表面看成一个NxN (1 #include using namespace std;#define pii p... 阅读全文
posted @ 2017-10-04 18:45
AWCXV
阅读(288)
评论(0)
推荐(0)
摘要:
Time Limit: 1 second Memory Limit: 128 MB【问题描述】Bessie受雇来到John的农场帮他们建立internet网络。农场有 N (2”和”#include using namespace std;#define rei(x) scanf("... 阅读全文
posted @ 2017-10-04 18:45
AWCXV
阅读(273)
评论(0)
推荐(0)
摘要:
Time Limit: 1 second Memory Limit: 50 MB【问题描述】小渊和小轩是好朋友也是同班同学,他们在一起总有谈不完的话题。一次素质拓展活动中,班上同学安排做成一个m行n列的矩阵,而小渊和小轩被安排在矩阵对角线的两端,因此,他们就无法直接交谈了。幸运的是,... 阅读全文
posted @ 2017-10-04 18:45
AWCXV
阅读(148)
评论(0)
推荐(0)
摘要:
问题描述 一个旅行家想驾驶汽车以最少的费用从一个城市到另一个城市(假设出发时油箱是空的)。给定两个城市之间的距离D1、汽车油箱的容量C(以升为单位).每升汽油能行驶的距离D2、出发点每升汽油价格P和沿途油站数N(N可以为零),油站i离出发点的距离Di、每升汽油价格 Pi(i=l,2,... 阅读全文
posted @ 2017-10-04 18:45
AWCXV
阅读(148)
评论(0)
推荐(0)
摘要:
【输入格式】一个整数N(1const int MAXN = 1e6+100;const int MOD = 10000;int n;int f[MAXN][3];int main(){ f[0][1] = 1; f[1][0] = 0;f[1][1] = 1;f[1][2... 阅读全文
posted @ 2017-10-04 18:45
AWCXV
阅读(280)
评论(0)
推荐(0)
摘要:
Time Limit: 1 second Memory Limit: 128 MB【问题描述】在一个坐标轴上,有M辆坦克,第i辆坦克在时刻0处于pos[i](pos[i]>0),speed[i]个单位,在时刻k就处于pos[i]+speed[i]*k。 原点上有一炮台。炮台有N颗炮弹... 阅读全文
posted @ 2017-10-04 18:45
AWCXV
阅读(552)
评论(0)
推荐(0)
摘要:
Time Limit: 1 second Memory Limit: 1 MB【问题描述】Matrix67发现身高接近的人似乎更合得来。Matrix67举办的派对共有N(1const int MAXN = 10+5;int n,k,ans=0;int a[MAXN],sta[MAXN... 阅读全文
posted @ 2017-10-04 18:45
AWCXV
阅读(220)
评论(0)
推荐(0)

浙公网安备 33010602011771号