搜索
文章平均质量分 75
BuringCode
长大之后就接触到了很多小时候觉得遥不可及的东西
然后才发现 自己离这个世界的真相 还差很远很远
展开
-
POJ 3984 迷宫问题
迷宫问题 Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 16343 Accepted: 9762 Description 定义一个二维数组: int maze[5][5] = { 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0,原创 2016-09-04 14:52:28 · 179 阅读 · 0 评论 -
HDU 1241 Oil Deposits
Oil Deposits Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u Description GeoSurvComp地质调查公司负责探测地下石油储藏。 GeoSurvComp现在在一块矩形区域探测石油,并把这个大区域分成了很多小块。他们通过专业设备,来分析每个小块中是否蕴藏石原创 2016-09-05 21:14:02 · 190 阅读 · 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 · 213 阅读 · 0 评论 -
acm小学弟
acm小学弟 Time Limit : 3000/1000ms (Java/Other) Memory Limit : 65535/32768K (Java/Other) Total Submission(s) : 925 Accepted Submission(s) : 134 Font: Times New Roman | Verdana | Georgia Font Si原创 2016-11-21 23:51:51 · 456 阅读 · 0 评论 -
B. Spotlights
B. Spotlights time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Theater stage is a rectangular field of size n原创 2016-11-21 23:59:25 · 207 阅读 · 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 · 202 阅读 · 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 · 80 阅读 · 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 · 255 阅读 · 0 评论