![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
算法/ACM
文章平均质量分 69
lijy94
这个作者很懒,什么都没留下…
展开
-
数的长度
import java.math.BigInteger; import java.util.Scanner; public class ShuDeChangDu { public static void main(String[] args) { Scanner input=new Scanner(System.in); int n=input.nextInt();原创 2014-04-27 22:14:22 · 484 阅读 · 0 评论 -
01串
01串 时间限制:1000 ms | 内存限制:65535 KB 难度:2 描述 ACM的zyc在研究01串,他知道某一01串的长度,但他想知道不含有“11”子串的这种长度的01串共有多少个,他希望你能帮帮他。 注:01串的长度为2时,有3种:00,01,10。 输入第一行有一个整数n(0 随后有n行,每行有一个整数m(2 输出输出不含有“1原创 2014-10-24 21:13:03 · 896 阅读 · 0 评论 -
平方和公式运用
An Easy Problem 时间限制:1000 ms | 内存限制:65535 KB 描述 In this problem, you are given two integers L and R, and your task is to calculate the sum of all the number's square between L and R(inclusiv原创 2015-01-10 21:27:19 · 933 阅读 · 0 评论