You are given three positive (i.e. strictly greater than zero) integers xx , yy and zz . Your task is to find positive integers aa , bb and cc such th ...
分类:
其他好文 时间:
2020-07-18 19:56:20
阅读次数:
82
//query传参,使用name跳转 this.$router.push({ name:'second', query: { queryId:'20180822', queryName: 'query' } }) //query传参,使用path跳转 this.$router.push({ path ...
分类:
其他好文 时间:
2020-07-18 15:24:47
阅读次数:
80
1.1全局配置 app.json文件用于小程序全局配置 app.json json不可注释 pages:页面结构列表 示例: "pages": [ "pages/index/index", "pages/logs/index" ] pages会表明小程序全局所有页面路径信息 window:对顶部窗体 ...
分类:
微信 时间:
2020-07-18 13:38:46
阅读次数:
87
给定一张图,图中给出一些有向边,一些无向边。 要求给所有无向边赋予方向后能够使整张图无环。 已知给定的图中无自环,无重边 解题思路: 若给定的有向边已经成环,那么必然输出NO,否则都可以构造出解。 考虑原图的拓扑排序,根据两点的进队时间,对于某一无向边,只要使边上两点进队时间也满足拓扑序,就可以使得 ...
分类:
其他好文 时间:
2020-07-18 13:32:35
阅读次数:
66
Three Pairwise Maximums #include<bits/stdc++.h> using namespace std; typedef long long ll; const int N=2e5+3; typedef long long ll; const ll inf=1e18; ...
分类:
其他好文 时间:
2020-07-18 11:29:01
阅读次数:
89
策略模式: 它定义了算法家族,分别封装起来,让它们之间可以互相替换。此模式让算法的变化,不会影响到使用算法的客户。 结构图如下: 代码: //算法抽象类 class Strategy { //定义支持的算法接口 public viod Algorithminterface(); } //算法子类A ...
分类:
其他好文 时间:
2020-07-18 00:53:36
阅读次数:
59
.cs: 类模块代码文件。业务逻辑处理层的代码。 .sln:解决方案文件,为解决方案资源管理器提供显示管理文件的图形接口所需的信息。 .csproj:项目文件,创建应用程序所需的引用、数据连接、文件夹和文件的信息。 .aspx:动态网页后缀(拓展:jsp,php)。(静态网页后缀,如:html,sh ...
<style> div { width: 200px; height: 30px; } input { width: 200px; height: 30px; border: 1px solid #ccc; font-size: 12px; line-height: 24px; } input:ho ...
分类:
移动开发 时间:
2020-07-17 19:28:14
阅读次数:
88
Content ZJU-ICPC Summer 2020 Contest 4 by Group A Problem F. Magical String ZJU-ICPC Summer 2020 Contest 4 by Group A Problem F. Magical String 给定一个一个 ...
分类:
其他好文 时间:
2020-07-17 19:24:42
阅读次数:
54
Content ZJU-ICPC Summer 2020 Contest 4 by Group A Problem F. Magical String ZJU-ICPC Summer 2020 Contest 4 by Group A Problem F. Magical String 给定一个一个 ...
分类:
其他好文 时间:
2020-07-17 16:23:39
阅读次数:
72