比赛链接:https://codeforces.com/contest/1352 A - Sum of Round Numbers 题意 将一个十进制数的每一个非零位分离出来。 代码 #include <bits/stdc++.h> using namespace std; void solve() ...
分类:
其他好文 时间:
2020-05-10 11:12:21
阅读次数:
60
题目传送门 div4。。基本上都是构造题,水一波题解 A. Sum of Round Numbers 就把每一位拆出来 #include <bits/stdc++.h> using namespace std; typedef long long ll; #define rep(i, a, b) f ...
分类:
其他好文 时间:
2020-05-10 10:22:14
阅读次数:
65
在mac中使用numbers对数据进行分列简单点说,就是分三步:1、复制;2、粘贴;3、调整;下面举例说明从文本或者其他地方复制下面的文字 MONTH_ID FILE_NAME FILE_TYPE AREA_CODE SP_CODE OPER_CODE CHARGE_TYPE02 DED202002 ...
分类:
系统相关 时间:
2020-05-09 16:44:41
阅读次数:
955
Given a stack which can keep M numbers at most. Push N numbers in the order of 1, 2, 3, ..., N and pop randomly. You are supposed to tell if a given s ...
分类:
其他好文 时间:
2020-05-08 18:36:48
阅读次数:
75
此博客链接:https://www.cnblogs.com/ping2yingshi/p/12851708.html 有多少小于当前数字的数字(35min) 题目链接:https://leetcode-cn.com/problems/how-many-numbers-are-smaller-than ...
分类:
其他好文 时间:
2020-05-08 17:57:54
阅读次数:
115
0x01 修改金币到8位,才能买东西 robots.txt中发现.git泄露 下载附件,得到源码 审计api.php 我们传入的值与随机生成的值进行比较, 按照相同的个数,得到不同的钱 if($numbers[$i] == $win_numbers[$i]) 存在若类型比较 抓包修改json值 tr ...
分类:
其他好文 时间:
2020-05-07 00:46:32
阅读次数:
132
Suppose that all the keys in a binary tree are distinct positive integers. A unique binary tree can be determined by a given pair of postorder and ino ...
分类:
其他好文 时间:
2020-05-06 13:56:18
阅读次数:
55
async/await https://javascript.info/async-await 需要浏览器支持,后者使用webpack转换为ES5. There’s a special syntax to work with promises in a more comfortable fashio ...
分类:
Web程序 时间:
2020-05-05 20:24:56
阅读次数:
120
函数 易错点总结 可更改(mutable)与不可更改(immutable)对象 在 python 中,strings, tuples, 和 numbers 是不可更改的对象,而 list,dict 等则是可以修改的对象。 不可变类型 :变量赋值 a=5 后再赋值 a=10 ,这里实际是==新生成一个 ...
分类:
其他好文 时间:
2020-05-05 17:44:50
阅读次数:
94
题目: 解答: 1 class Solution { 2 public: 3 vector<int> twoSum(vector<int>& numbers, int target) 4 { 5 int low = 0; 6 int high = numbers.size() - 1; 7 8 wh ...
分类:
编程语言 时间:
2020-05-04 17:27:43
阅读次数:
67