码迷,mamicode.com
首页 >  
搜索关键字:palindrome numbers    ( 9163个结果
509. Fibonacci Number
package LeetCode_509 /** * 509. Fibonacci Number * https://leetcode.com/problems/fibonacci-number/ * * The Fibonacci numbers, commonly denoted F(n) fo ...
分类:其他好文   时间:2020-10-14 20:12:53    阅读次数:13
python求素数: [p for p in range(2, maxNumber) if 0 not in [p%d for d in range(2, int(p**0.5)+1)]]
题目: 输入一个大于 2 的自然数,输出小于该数字的所有素数组成的集合。 代码如下: maxNumber = int(input('请输入一个大于 2 的自然数:')) numbers = [p for p in range(2, maxNumber) if 0 not in [p%d for d ...
分类:编程语言   时间:2020-10-06 20:48:21    阅读次数:45
Linux objdump
简介 显示目标文件的信息。 常用选项 -a --archive-header 显示archive的头部信息。 -C --demangle[=style] 将低级符号名解码(demangle)到用户级符号名。可以使C++函数名更易读。 --recurse-limit --no-recurse-limi ...
分类:系统相关   时间:2020-10-06 20:14:47    阅读次数:29
PAT A1008 Elevator Go语言题解
Problem: The highest building in our city has only one elevator. A request list is made up with N positive numbers. The numbers denote at which floors ...
分类:编程语言   时间:2020-10-05 22:34:28    阅读次数:52
C.k-Amazing Numbers(cf div2 673)
#include<bits/stdc++.h> using namespace std; const int N = 300010; vector<int>p[N]; int ans[N]; int main() { int t; scanf("%d",&t); while(t --) { int ...
分类:其他好文   时间:2020-10-05 21:46:03    阅读次数:23
A+B Format
Calculate a+b and output the sum in standard format -- that is, the digits must be separated into groups of three by commas (unless there are less tha ...
分类:其他好文   时间:2020-09-24 00:03:11    阅读次数:34
MySQL STR_TO_DATE函数
转自:https://blog.csdn.net/weixin_43064185/article/details/89534830 STR_TO_DATE(str,format)函数是将时间格式的字符串(str),按照所提供的显示格式(format)转换为DATETIME类型的值。DATE_FORM ...
分类:数据库   时间:2020-09-23 23:46:20    阅读次数:48
LeetCode | 0040. Combination Sum II组合总和 II【Python】
Problem LeetCode Given a collection of candidate numbers (candidates) and a target number (target), find all unique combinations in candidates where t ...
分类:编程语言   时间:2020-09-17 20:29:16    阅读次数:30
[leetcode]2. 两数相加
2. 两数相加 这题medium,但思路挺简单的。模拟下就可以 /** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int x) : val(x), ...
分类:其他好文   时间:2020-09-17 19:08:34    阅读次数:21
ACM题目 1083: Hello, world!
题目描述: This is the first problem for test. Since all we know the ASCII code, your job is simple: Input numbers and output corresponding messages. 输入: T ...
分类:其他好文   时间:2020-09-17 17:23:30    阅读次数:51
9163条   上一页 1 ... 6 7 8 9 10 ... 917 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!