摘要: 博客将转载至 https://me.csdn.net/u013067907 Welcome to Visit! 阅读全文
posted @ 2020-06-18 12:29 袁汉春 阅读(91) 评论(0) 推荐(0) 编辑
摘要: 利用梯度进行原函数的求解。 阅读全文
posted @ 2017-04-29 18:44 袁汉春 阅读(532) 评论(0) 推荐(0) 编辑
摘要: 使用python导入该文件转换的jar包后,直接建立一个对象,进行赋值即可。 阅读全文
posted @ 2017-04-11 11:28 袁汉春 阅读(198) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2017-04-07 15:47 袁汉春 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2017-03-31 17:13 袁汉春 阅读(2) 评论(0) 推荐(0) 编辑
摘要: #include #include #include using namespace std; int main(){ int k,e; double c; double a[10010]; int ans = 0; // memset(v,0,sizeof(v)); memset(a,0,sizeof(a)); scanf("%d",&k); while(k--){ sc... 阅读全文
posted @ 2015-10-12 20:06 袁汉春 阅读(233) 评论(0) 推荐(0) 编辑
摘要: 图论题:一开始我是用tarjan算法做的,wrong answer 了很多次,然后又用了floyd-warshell算法,也wa了最后找了题解,原来最后的dataset后面不是组数,是样例的编号,题根本就没说,让人怎么理解。。。tarjan#include#include#include#inclu... 阅读全文
posted @ 2015-08-17 21:06 袁汉春 阅读(188) 评论(0) 推荐(0) 编辑
摘要: 二进制枚举即可:#include#include#includeusing namespace std;int cmp(int a,int b){ return a > b;} int main(){ int t; scanf("%d",&t); while(t--){ int ans =... 阅读全文
posted @ 2015-08-17 20:00 袁汉春 阅读(379) 评论(0) 推荐(0) 编辑
摘要: 现在从网上找的标程,基本上是一个思路,分明是根据别人的思路照搬下来的,这到底有什么用,acm的魅力不就是思考和解决问题吗,你把思考和解决问题的逻辑这步去掉,单纯的码代码,到底是图什么? 现在学习东西也是这样,一个按部就班的框架,完全失去了学习新东西的刺激和挑战。 摸索这个词应该很多人都不用... 阅读全文
posted @ 2015-08-14 20:33 袁汉春 阅读(199) 评论(0) 推荐(0) 编辑
摘要: Consider yourself lucky! Consider yourself lucky to be still breathing and having fun participating inthis contest. But we apprehend that many of your... 阅读全文
posted @ 2015-08-14 11:02 袁汉春 阅读(238) 评论(0) 推荐(0) 编辑