2017年5月21日
摘要: [Offer收割]编程练习赛17 链接:http://hihocoder.com/contests/past A.F1 Score 思路:f1指标是机器学习中的一个指标,具体公式可见周志华《机器学习》一书 1 #include <iostream> 2 #include <cstdio> 3 4 u 阅读全文
posted @ 2017-05-21 15:01 dxy1993 阅读(121) 评论(0) 推荐(0) 编辑
摘要: 33: 链接:https://leetcode.com/contest/leetcode-weekly-contest-33/ A.Longest Harmonious Subsequence 思路:hash加查找 1 class Solution { 2 public: 3 int findLHS 阅读全文
posted @ 2017-05-21 12:20 dxy1993 阅读(177) 评论(0) 推荐(0) 编辑
摘要: 计蒜之道第一场:初赛 链接:https://www.jisuanke.com/contest/726 A. 阿里的新游戏 思路:任意搜任意写(这个代码写的很挫) 1 #include <iostream> 2 #include <string> 3 #include <vector> 4 #incl 阅读全文
posted @ 2017-05-21 11:51 dxy1993 阅读(376) 评论(0) 推荐(0) 编辑