最新 最热

通过位运算枚举

You have n problems. You have estimated the difficulty of the i-th one as integer c**i. Now you want to prepare a problemset for a contest, using some of the pr...

2021-02-24
2

图+dfs+gcd

最近在做codeforces上面的题,感觉质量挺高的,而且区分难易,便于入手。今天做到的这题考察的东西不少,由于本人水平不济(其实是懒),只能看看别人写的代码,找到一个写的挺好的,多多学习。...

2021-02-24
2

数据处理 | pandas-超常用的数据提取操作方法汇总

pandas是python数据分析必备工具,它有强大的数据清洗能力,往往能用非常少的代码实现较复杂的数据处理

2021-02-22
4

LintCode MySQL 1921. 从不充值的玩家(where not in)

描述 A game database contains two tables, player table and recharge table. Write a SQL query to find all players who never recharge.

2021-02-19
2

hdoj 1711 KMP Number Sequence

Given two sequences of numbers : a[1], a[2], ...... , a[N], and b[1], b[2], ...... , b[M] (1 <= M <= 10000, 1 <= N <= 1000000). Your task is to find a number ...

2021-01-22
1

HDOJ(HDU) 2161 Primes(素数打表)

Problem Description Write a program to read in a list of integers and determine whether or not each number is prime. A number, n, is prime if its only divisor...

2021-01-21
1

HDOJ(HDU) 2143 box(简单的多次判断-用的卫条件)

Problem Description One day, winnie received a box and a letter. In the letter, there are three integers and five operations(+,-,*,/,%). If one of the three i...

2021-01-21
1

HDOJ(HDU) 2132 An easy problem

Problem Description We once did a lot of recursional problem . I think some of them is easy for you and some if hard for you. Now there is a very easy probl...

2021-01-21
1

HDOJ 1076 An Easy Task(闰年计算)

Problem Description Ignatius was born in a leap year, so he want to know when he could hold his bi

2021-01-21
1

HDOJ 1061 Rightmost Digit(循环问题)

Problem Description Given a positive integer N, you should output the most right digit of N^N.

2021-01-21
1