贪心
Cxiaokai
这个作者很懒,什么都没留下…
展开
-
Codeforce 1
不知道该如何写,题目也不知道该如何标记,就以题目的链接作为题目的标志的了。http://codeforces.com/contest/109/problem/A 这个题目想了想,觉得很简单。写了写,错了,找到几个用例,发现了bug,该了该,又交了,还是wa。有找到一个错误的例子原创 2011-09-02 22:25:30 · 531 阅读 · 0 评论 -
zoj 3519
简单的贪心。知道从什么地方贪心是最好的就行了。#include #include #include #include #include using namespace std; int main() { int n,ans; int a[503]; boo原创 2011-08-07 10:42:53 · 393 阅读 · 0 评论 -
hdu 4070
#include #include #include using namespace std; #define N 100004 struct node { int s,t; }ans[N]; bool cmp(node a,node b) { if(a.t!=b原创 2011-10-08 09:55:47 · 954 阅读 · 0 评论