![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
水题+模拟
lyjvactor
弱菜求轻虐==
展开
-
zoj_3657,12年长春站c题,模拟
#include #include #include #include using namespace std; int main() { int n; int a[6]; while(scanf("%d",&n)!=EOF) { for(int i=0;i<n;i++) scanf("%d",&a[i]);原创 2014-08-18 21:47:02 · 347 阅读 · 0 评论 -
hdu_4430,二分
注意处理溢出#include #include #include #include using namespace std; long long n; long long a[60][2]; int k; int fun(long long y,int x) { long long cnt=0,cur=1; for(int i=1; i<=x; i++) {原创 2014-08-21 17:33:51 · 336 阅读 · 0 评论 -
poj_3371
一道模拟题,写的有点麻烦原创 2014-08-08 21:11:42 · 365 阅读 · 0 评论 -
hdu_4707
算是水题一道吧,看别人又用vector,you原创 2014-05-07 06:33:56 · 417 阅读 · 0 评论 -
cpc,a wonderful concert
昨完这道题突然就感觉自己脑子是不是已经秀逗了原创 2014-11-11 21:00:47 · 412 阅读 · 0 评论 -
hdu_5150 水
交个题证明我还活着 #include #include #include #include using namespace std; int main() { int n; while(scanf("%d",&n)!=EOF) { int sum=0; int a; for(int i=0;i<n;i++){原创 2015-01-02 16:16:56 · 422 阅读 · 0 评论