摘要: 题目描述 B数的定义:能被13整除且本身包含字符串"13"的数。 例如:130和2613是B数,但是143和2639不是B数。 你的任务是计算1到n之间有多少个数是B数。 输入 输入数据只有一个数,为n。($1 include using namespace std; typedef long lo 阅读全文
posted @ 2019-08-13 06:45 Paranoid丶离殇 阅读(146) 评论(0) 推荐(0) 编辑
摘要: Problem Description The counter terrorists found a time bomb in the dust. But this time the terrorists improve on the time bomb. The number sequence o 阅读全文
posted @ 2019-08-13 06:20 Paranoid丶离殇 阅读(123) 评论(0) 推荐(0) 编辑
摘要: 题目描述 windy定义了一种windy数。不含前导零且相邻两个数字之差至少为2的正整数被称为windy数。 windy想知道, 在A和B之间,包括A和B,总共有多少个windy数? 输入格式 包含两个整数,A B。 输出格式 一个整数 输入输出样例 输入 1 输出 1 输入 2 输出 2 说明/提 阅读全文
posted @ 2019-08-13 05:59 Paranoid丶离殇 阅读(160) 评论(1) 推荐(0) 编辑