2013年8月29日

摘要: Problem Description很多学校流行一种比较的习惯。老师们很喜欢询问,从某某到某某当中,分数最高的是多少。这让很多学生很反感。不管你喜不喜欢,现在需要你做的是,就是按照老师的要求,写一个程序,模拟老师的询问。当然,老师有时候需要更新某位同学的成绩。 Input本题目包含多组测试,请处理到文件结束。#include using namespace std;const int maxn=200010;int max(int a,int b){ int c=a>b?a:b; return c;}struct Node { int left; int right;... 阅读全文
posted @ 2013-08-29 16:51 不知妖精 阅读(132) 评论(0) 推荐(0) 编辑

导航