如果求导之后没有任何非零项,需要输出0 0。 int main() { string line; getline(cin,line); stringstream ss(line); int a,b; bool first=true; while(ss>>a>>b) { a*=b; b--; if(b ...
分类:
其他好文 时间:
2021-02-16 11:53:11
阅读次数:
0
technology road one step 2021-02-12 1. 工程能力 1. DDD 《DDD》 chapter4 分离领域 ; chapter5 软件中表示的模型 《IDDD》Entity 《分析模式》 确定范围 《对象设计,角色,责任和协作》 2. 软件架构 1. <Java 应 ...
分类:
其他好文 时间:
2021-02-16 11:50:55
阅读次数:
0
jq Bash, unfortunately, doesn’t ship with a command that can work with JSON natively. In this lesson, we’ll learn how to read and do basic queries on ...
分类:
Web程序 时间:
2021-02-15 12:41:34
阅读次数:
0
问题描述 # python3.7 /tmp/demo.py Traceback (most recent call last): File "/tmp/demo.py", line 4, in <module> driver = webdriver.Chrome('/srv/sharing/pack ...
分类:
其他好文 时间:
2021-02-15 12:38:15
阅读次数:
0
注意不满$4$位的话要补成$4$位。 string s; set<int> S; int main() { cin>>s; while(s.size()<4) s='0'+s; while(true) { sort(s.begin(),s.end(),greater<char>()); string ...
分类:
其他好文 时间:
2021-02-15 12:21:49
阅读次数:
0
前面一篇博客记录了怎么初始化treeview控件,但是节点都是收缩的,如果希望初始化时节点都是展开的,那么需要在后面添加红色部分的脚本。 在画面上放置一个treeview控件,名字修改为TV,画面打开事件加入以下c脚本: #include "apdefap.h"void OnOpenPicture( ...
https://www.acwing.com/problem/content/1139/ #include <bits/stdc++.h> using namespace std; #define IO ios::sync_with_stdio(false);cin.tie(0); cout.tie ...
分类:
其他好文 时间:
2021-02-15 11:53:52
阅读次数:
0
1.开启对应Windows功能(适用于linux的Windows子系统) 2.微软商店对应下载 Windows terminal 、 ubantu 3.设置 Windows terminal ubantu:把下面这个加到/root/.bashrc里 #Fix mkdir command has wr ...
从[互不侵犯]一题析代码的锅 这个题,真的是,作为状压DP的敲门题,我从2020年1月份第一次见它, 到今年2月份重构过3、4遍。然后终于过了。 憨批行为之一 我有一次在寻找合法状态的时候,逐位枚举?甚至还枚举$1$的个数啊、搜索啊...... 正确的做法是 for(int s = (1 << n) ...
分类:
其他好文 时间:
2021-02-15 11:39:35
阅读次数:
0
Hive 运行过程异常信息有时不能完全显示在终端上,此时可以用 Hive Debug 模 式进行调试 hive --hiveconf hive.root.logger=INFO,console 1、表不存在 FAILED: SemanticException [Error 10001]: Line ...
分类:
其他好文 时间:
2021-02-10 13:39:36
阅读次数:
0