数论
文章平均质量分 63
元素不会背元素周期表
U don't have to say I love U to say I love you.
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
light oj-1282 Leading and Trailing
You are given two integers: n and k, your task is to find the most significant three digits, and least significant three digits of nk. Input Input starts with an integer T (≤ 1000), denoting the n原创 2017-08-15 13:50:01 · 213 阅读 · 0 评论 -
0和5 51Nod-1433
小K手中有n张牌,每张牌上有一个一位数的数,这个字数不是0就是5。小K从这些牌在抽出任意张(不能抽0张),排成一行这样就组成了一个数。使得这个数尽可能大,而且可以被90整除。 注意: 1.这个数没有前导0, 2.小K不需要使用所有的牌。 Input 每个测试数据输入共2行。 第一行给出一个n,表示n张牌。(1 第二行给出n个整数a00,a11,a22,…,an−原创 2017-09-04 21:12:04 · 301 阅读 · 0 评论 -
CF-Codeforces Round #483 (Div. 2) C. Finite or not? 数论
You are given several queries. Each query consists of three integers p, q and b. You need to answer whether the result of p/q in notation with base b is a finite fraction.A fraction in notation with b...原创 2018-05-17 09:07:23 · 650 阅读 · 0 评论
分享