列一下hdu,poj,CF上常见的Stirling数相关的习题(补充完善中): hdu2643 hdu3625 hdu4372 hdu4045 POJ1430 POJ2621 CF932E CF961G CF960G ...
分类:
其他好文 时间:
2020-07-12 16:52:18
阅读次数:
64
一、easy-mock-->/api/gathering/{gatheringId}(delete) { "code": 20000, "flag": true, "message": "删除成功!" } 二、vueadmin-template-master-->src-->api-->gather ...
分类:
其他好文 时间:
2020-07-12 16:49:46
阅读次数:
68
##题面 Problem Description Lele now is thinking about a simple function f(x). If x < 10 f(x) = x. If x >= 10 f(x) = a0 * f(x-1) + a1 * f(x-2) + a2 * f(x ...
分类:
其他好文 时间:
2020-07-12 16:40:31
阅读次数:
59
1. OSPF的NSSA(not so stub area)区域 不接收5类LSA,但是可以引入外部路由,引入一种新的7类的NSSA的LSA 场景:一个分支现在不接收5类LSA,同时还要在本区域得到默认路由去指向运行商而不是总公司(area 0) [SW3-ospf-1]ar [SW3-ospf-1 ...
分类:
其他好文 时间:
2020-07-11 22:40:14
阅读次数:
63
题目来源:leetcode202 快乐数 题目描述: 编写一个算法来判断一个数 n 是不是快乐数。 「快乐数」定义为:对于一个正整数,每一次将该数替换为它每个位置上的数字的平方和,然后重复这个过程直到这个数变为 1,也可能是 无限循环 但始终变不到 1。如果 可以变为 1,那么这个数就是快乐数。 如 ...
分类:
其他好文 时间:
2020-07-11 19:45:39
阅读次数:
64
题目来源:leetcode118 罗辉三角 题目描述: 给定一个非负整数 numRows,生成杨辉三角的前 numRows 行。 在杨辉三角中,每个数是它左上方和右上方的数的和。 示例: 输入: 5 输出: [ [1], [1,1], [1,2,1], [1,3,3,1], [1,4,6,4,1] ...
分类:
其他好文 时间:
2020-07-11 19:39:05
阅读次数:
55
#include<iostream> #include<cmath> #include<algorithm> #include<string> #include<cstring> #define DEBUG if( 1 )//是否输出调试用信息 using namespace std; int W, ...
分类:
其他好文 时间:
2020-07-11 19:21:29
阅读次数:
61
题目来源:leetcode412 FizzBuzz 题目描述: 写一个程序,输出从 1 到 n 数字的字符串表示。 如果 n 是3的倍数,输出“Fizz”; 如果 n 是5的倍数,输出“Buzz”; 3.如果 n 同时是3和5的倍数,输出 “FizzBuzz”。 示例: n = 15, 返回: [ ...
分类:
其他好文 时间:
2020-07-11 18:53:25
阅读次数:
53
供应商原生开发套件,Vendor Native Development Kit,简称VNDK. 问题引发:vndksupport:Could not load demo.so from default namespace:dlopen failed: library “libstdc++.so” n ...
分类:
移动开发 时间:
2020-07-11 14:21:21
阅读次数:
166
pip是常用的python包管理工具,用python的同学,都离不开pip。 第一种 在系统自带的python2.7的路径下 1、pip是python的包管理工具,在Python2.7的安装包中,easy_install.py是默认安装的,而pip需要我们手动安装。 打开终端: sudo easy_ ...
分类:
系统相关 时间:
2020-07-11 13:12:16
阅读次数:
74