搜索
文章平均质量分 64
BuringCode
长大之后就接触到了很多小时候觉得遥不可及的东西
然后才发现 自己离这个世界的真相 还差很远很远
展开
-
POJ 3984 迷宫问题
迷宫问题Time Limit: 1000MS Memory Limit: 65536KTotal Submissions: 16343 Accepted: 9762Description定义一个二维数组: int maze[5][5] = { 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0,原创 2016-09-04 14:52:28 · 191 阅读 · 0 评论 -
HDU 1241 Oil Deposits
Oil DepositsTime Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uDescriptionGeoSurvComp地质调查公司负责探测地下石油储藏。 GeoSurvComp现在在一块矩形区域探测石油,并把这个大区域分成了很多小块。他们通过专业设备,来分析每个小块中是否蕴藏石原创 2016-09-05 21:14:02 · 204 阅读 · 0 评论 -
hihoCoder #1135 : Magic Box
描述The circus clown Sunny has a magic box. When the circus is performing, Sunny puts some balls into the box one by one. The balls are in three colors: red(R), yellow(Y) and blue(B). Let Cr, Cy, Cb d原创 2016-09-22 20:12:59 · 226 阅读 · 0 评论 -
acm小学弟
acm小学弟 Time Limit : 3000/1000ms (Java/Other) Memory Limit : 65535/32768K (Java/Other)Total Submission(s) : 925 Accepted Submission(s) : 134Font: Times New Roman | Verdana | Georgia Font Si原创 2016-11-21 23:51:51 · 466 阅读 · 0 评论 -
B. Spotlights
B. Spotlightstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputTheater stage is a rectangular field of size n原创 2016-11-21 23:59:25 · 218 阅读 · 0 评论 -
Codeforces Round #381 (Div. 2) A. Alyona and flowers
http://codeforces.com/problemset/problem/740/B题意:给出一组n个数和m条指令,每条指令给出了区间[L,R],对于每天指令,算出第L个数到第R个数的和,最后将所有大于0的和相加得出结果。代码:#include using namespace std;int arr[20000];int n,m;int main(原创 2016-11-24 21:23:30 · 214 阅读 · 0 评论 -
Codeforces Round #358 (Div. 2)(A) Alyona and Numbers
http://codeforces.com/problemset/problem/682/A题意:输入n、m,找出所有1代码:#include #include using namespace std;int n,m;long long ans;int main(){ ans=0; scanf("%d %d",&n,&m); for(原创 2016-11-24 21:31:22 · 113 阅读 · 0 评论 -
Codeforces Round #382 (Div. 2) 735A - Ostap and Grasshopper
http://codeforces.com/problemset/problem/735/A题意:一只蚂蚱在路上蹦,输入路的长度n和蚂蚱每次蹦的距离k,在这条路上,蚂蚱只能落在'.'上,不能落在'#'上,蚂蚱从G开始蹦,若能蹦到T,输出YES,否则NO。代码:#include #include using namespace std;char ch[1000]原创 2016-11-28 12:30:59 · 270 阅读 · 0 评论