思路: 水题,略过 Tip: 无 #include <bits/stdc++.h> using namespace std; int main() { int n, t, num = 0; string now; cin >> n >> t; getchar(); for (int i = 1; i ...
分类:
其他好文 时间:
2021-04-27 15:16:28
阅读次数:
0
java遍历文件 package com.vfsd.test; import java.io.File; import java.io.IOException; public class ListFileName { public static void main(String[] args) { ...
分类:
编程语言 时间:
2021-04-27 15:01:42
阅读次数:
0
#include <iostream> #include <stack> #include <cstring> #include <unordered_map> using namespace std; typedef long long ll; stack<int>num; stack<char> ...
分类:
其他好文 时间:
2021-04-27 14:59:52
阅读次数:
0
模型参数 参数名 参数描述 可选值 boosting_type 模型提升方式 'gbdt'、'dart'、'goss'、'rf' num_leaves 每个基学习器的最大叶子 默认31 max_depth 基学习器树的最大深度 默认-1,没有限制 learning_rate boosting学习率 ...
分类:
编程语言 时间:
2021-04-27 14:19:07
阅读次数:
0
D. Explorer Space 一点一点把题目理顺。看看哪些是可以推断出来的。 对于 dp 的题目而言,要一点一点去分析其中什么东西是可以递推的,正如这道题中 \(dp[x][y][k]=min\{dp[xx][yy][k-1]+d[x][y][i]\}\) 然后再进行记忆化搜索即可。 // C ...
分类:
其他好文 时间:
2021-04-27 14:17:50
阅读次数:
0
一些crontab调度示例 10 6 * * * root reboot 10 7 * * * python /root/confluence_backup.py */5 * * * * flock -xn /tmp/stargate.lock -c '/usr/local/qcloud/starg ...
分类:
其他好文 时间:
2021-04-27 14:12:22
阅读次数:
0
操作数据库 结构化查询语言分类 名称 解释 命令 DDL数据定义语言 定义和管理数据对象,如数据库,数据表 create,drop ,alter DML数据操作语言 操作数据库对象中包含的数据 insert,update,delete DQL数据查询语言 查询数据库数据 select DCL数据控制 ...
分类:
数据库 时间:
2021-04-26 13:43:28
阅读次数:
0
思路: def new_ton(num): if num == 0: return 0 res = int(sqrt(num, num)) print(res) def sqrt(n, x): cur = (n + x/n) / 2 if cur == n: return cur else: ret ...
分类:
其他好文 时间:
2021-04-26 13:26:36
阅读次数:
0
一些基本概念 标签 标题:<h1>-<h6>(从大到小) 段落:<p> 链接:<a> baidu <a href="http://www.baidu.com">baidu</a> 图像:<img> <img src="XXX" width="300" height="300" /> 换行:<br / ...
分类:
Web程序 时间:
2021-04-26 13:24:01
阅读次数:
0
代码实例图:package judgment;/** * 计算下面级数之和 * 1/3+3/5+5/7+...+97/99; */public class Judgment { public static void main(String[] args) { double num=0; for (i ...
分类:
编程语言 时间:
2021-04-26 13:07:27
阅读次数:
0