- 博客(13)
- 资源 (3)
- 收藏
- 关注
原创 1004 Counting Leaves
A family hierarchy is usually presented by a pedigree tree. Your job is to count those family members who have no child.Input Specification:Each input file contains one test case. Each case starts...
2019-03-16 17:05:47 244
原创 1003 Emergency
1003Emergency(25分)As an emergency rescue team leader of a city, you are given a special map of your country. The map shows several scattered cities connected by some roads. Amount of rescue teams...
2019-03-16 15:07:11 425
原创 Safecracker(HD1015)dfs
链接:http://acm.hdu.edu.cn/showproblem.php?pid=1015思路:深度优先搜索,要注意的是先给字符串进行排序,然后从后往前找,这样就能第一个就找到符合题意的。代码:#include <iostream>#include <cstdio>#include <cstdlib>#include <...
2019-03-15 17:07:03 244
原创 Counting Squares(HD1264)
链接:http://acm.hdu.edu.cn/showproblem.php?pid=1280题意:给出一系列对角线点,看能形成多少个正方形思路:水题。。看成一个大的四边形,看哪些单元包括在里面#include <iostream>#include <cstdio>#include <cstdlib>#include <cstrin...
2019-03-09 16:26:54 387
原创 flask点击按钮获取后台
问题:点击按钮后要获取到后台python脚本返回的值,还是太小白啊~解决:用ajaxtemp.html:<html><head><meta charset="utf-8"><title>TEMP</title></head><body> <input ty
2019-03-07 20:26:59 12396 1
原创 第一周--Linear Regression with One Variable
Model and Cost FunctionWe can measure the accuracy of our hypothesis function by using a cost function. 就是要找到一个θ0,θ1使J(θ0,θ1)最小,即误差最小Parameter Learning
2019-03-07 15:38:28 240
原创 cousera视频无法加载
用管理员权限记事本打开host文件将如下内容复制到文件末尾52.84.246.90 d3c33hcgiwev3.cloudfront.net52.84.246.252 d3c33hcgiwev3.cloudfront.net52.84.246.144 d3c33hcgiwev3.cloudfront.net52.84.246.72 d3c33hcgiwev3....
2019-03-07 10:55:11 344
原创 flask加载css样式出现404
如图。解决办法:在工程下新建一个static文件夹,把所有的css和js放大这个文件夹里,html引用时,路径设置为"static/js/jquery-3.1.0.min.js"如图:
2019-03-05 21:31:39 5969 1
原创 最大报销额(HD1864)
链接:http://acm.hdu.edu.cn/showproblem.php?pid=1864代码:#include&lt;cstdio&gt;#include&lt;cstring&gt;#include&lt;algorithm&gt;using namespace std;const int INF=3000010;int dp[INF];int val[INF];...
2019-03-05 16:51:04 249
原创 EXCEL排序(HD1862)
题:http://acm.hdu.edu.cn/showproblem.php?pid=1862#include &amp;lt;iostream&amp;gt;#include &amp;lt;cstdio&amp;gt;#include &amp;lt;cstdlib&amp;gt;#include &amp;lt;cstring&amp;gt;#include &a
2019-03-03 15:32:35 168
原创 魔咒词典(HD1880)
题:http://acm.hdu.edu.cn/showproblem.php?pid=1880思路:结构体直接存储对应,好久没写了。。代码比较丑。。需要注意的是魔咒输出时不用带[]#include <iostream>#include <cstdio>#include <cstring>#include <string>#includ...
2019-03-01 16:56:26 393
FileSys.zip
2020-07-09
mahout-integration-0.7
2018-06-06
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人