#B3878. [信息与未来 2015] 连续数的和
[信息与未来 2015] 连续数的和
Cannot parse: bad indentation of a mapping entry (3:10) 1 | time: 1s 2 | memory: 131072 3 | - input: 1.in --------------^ 4 | output: 1.out 5 | - input: 2.in
题目描述
给出两个整数 和 ,求出 中连续 个数的和为完全平方数的个数。
输入格式
一行两个整数 。
输出格式
一行一个整数,即 中连续 个数的和为平方数的个数。
输入输出样例 #1
输入 #1
10 3
输出 #1
1
说明/提示
样例解释
在 中,连续 个数的和有:
- ;
- ;
- ;
- ;
- ;
- ;
- ;
- 。
故只有 个。
数据范围
。