首先添加新版本的repo curl --silent --location https://rpm.nodesource.com/setup_14.x | sudo bash 执行安装 yum -y install nodejs 参考 新安装NODEJS之后配置 ...
分类:
Web程序 时间:
2020-08-11 15:47:57
阅读次数:
68
var aa = ["12", "34", "", "423", " "]; console.log($.grep(aa, function(n) {return $.trim(n).length > 0;})) var aaa = aa.filter(s => $.trim(s).length > ...
分类:
编程语言 时间:
2020-08-05 19:44:37
阅读次数:
186
有两种解决办法: 1、忽略这个警告(用第二个): import os # os.environ["TF_CPP_MIN_LOG_LEVEL"]='1' # 这是默认的显示等级,显示所有信息 os.environ["TF_CPP_MIN_LOG_LEVEL"]='2' # 只显示 warning 和 ...
分类:
其他好文 时间:
2020-08-05 10:30:10
阅读次数:
66
题意描述 同样没有链接...。 Problem 2: Lock Her Up [Jan Kuipers, 2003] Bessie has been bad again and Farmer John must punish her by locking her up for a while. On ...
分类:
其他好文 时间:
2020-08-02 23:35:51
阅读次数:
104
Ugly numbers are numbers whose only prime factors are 2, 3 or 5. The sequence 1, 2, 3, 4, 5, 6, 8, 9, 10, 12, 15, ... shows the first 11 ugly numbers. ...
分类:
其他好文 时间:
2020-07-30 01:31:19
阅读次数:
73
[CF165E]Compatible Numbers 一.前言 强忍着调了一下午lemon、疯狂卡常失败的病痛,来水了一道……题目链接。 二.思路 ? 这题翻译的很明确了,就直接来。 ? 给出的例子是90(1011010)与36(100100)相容,他们&起来等于0.那么简化为 \(A\&B=0\) ...
分类:
其他好文 时间:
2020-07-29 21:45:39
阅读次数:
62
clause.hpp clause.cpp clause.hpp 声明了常用类型的别名: /* */ typedef int * literal_iterator;typedef const int * const_literal_iterator; /* */ 定义结构类型Clause、claus ...
分类:
其他好文 时间:
2020-07-29 21:34:34
阅读次数:
76
Additive Number Additive number is a string whose digits can form additive sequence. A valid additive sequence should contain at least three numbers. ...
分类:
其他好文 时间:
2020-07-27 17:46:30
阅读次数:
60
题目来源: http://codeforces.com/problemset/problem/122/A Petya loves lucky numbers. Everybody knows that lucky numbers are positive integers whose decimal ...
分类:
其他好文 时间:
2020-07-27 13:40:27
阅读次数:
64
描述 73 88 1 02 7 4 44 5 2 6 5(Figure 1)Figure 1 shows a number triangle. Write a program that calculates the highest sum of numbers passed on a route t ...
分类:
其他好文 时间:
2020-07-26 19:29:18
阅读次数:
90