HDOJ 4302 Holedox Eating
来源:互联网 发布:百度世界人工智能大会 编辑:程序博客网 时间:2024/06/05 06:28
题目:http://acm.hdu.edu.cn/showproblem.php?pid=4302
这是第一场比赛的题,做了好长时间没有做出来,超时啊
以下是同小组的代码,没有用线段树也过了,
我还没有学习线段树,所以用模拟的方法
#include<stdio.h>
#include<string.h>
int b[100015];
int main()
{