代码改变世界

随笔档案-2006年11月8日

找最大的正方形

2006-11-08 17:32 by 老博客哈, 968 阅读, 收藏,
摘要: /**//*http://acm.hnu.cn:8080/online/?action=problem&type=show&id=10180*/#include using namespace std;int map[501][501];int n, m;int x, y;void Mark(){ int i, j; for(j = 2; j map[i][j - 1] ? map[... 阅读全文

和集

2006-11-08 12:20 by 老博客哈, 656 阅读, 收藏,
摘要: /**//*http://acm.hnu.cn:8080/online/?action=problem&type=show&id=10181*/#include #include using namespace std;struct s{ int a; //前一个操作数的下标 int b; //后一个操作数的下标 int value; //存储操... 阅读全文