LeetCode 第 342 题(Power of Four)
Given an integer (signed 32 bits), write a function to check whether it is a power of 4.
Example:
Given num = 16, return true. Given num = 5, return false.
F...
LeetCode 第 342 题(Power of Four)
Given an integer (signed 32 bits), write a function to check whether it is a power of 4.
Example: Given num = 16, return true. Given num = 5, return false.
Fol...
描述
Given two strings a and b we define a*b to be their concatenation. For example, if a = "abc" and b = "def" then a*b = "abcdef". If we think of concatenation as multiplication, exponentiation b...
2020牛客暑期多校训练营(第九场)A.Groundhog and 2-Power Representation
题目链接
题目描述
Groundhog took a math class. In this class, his math teacher said:
Any positive integer...
1、去Vim官网下载适合操作系统的可执行文件
地址:https://www.vim.org/download.php#pc
2、找到Vim文件夹中的vimrc文件进行修改,增加下面这4行。
set encoding=utf-8
set termencoding=utf-8
set fileencoding...