hdu 1284
摘要:
此题我觉得非常的亢爹,用while(cin>>n)输入肯定wa,原因不详,所以此题只能用while(scanf("%d",&n)!=EOF),作为输入语句。ac代码:View Code #include<iostream>using namespace std;const int M=38000;int dp[M];int main(){ /*freopen("in.txt","r",stdin); freopen("out1.txt","w",stdout);* 阅读全文
posted @ 2012-09-13 10:35 果枫-国峰 阅读(147) 评论(0) 推荐(0) 编辑