上一页 1 ··· 45 46 47 48 49 50 51 52 53 ··· 97 下一页
摘要: 题目 给出一段区间a-b,统计这个区间内0-9出现的次数。 比如 10-19,1出现11次(10,11,12,13,14,15,16,17,18,19,其中11包括2个1),其余数字各出现1次。 输入 两个数a,b(1 #include#includ... 阅读全文
posted @ 2022-09-20 22:56 老程序员111 阅读(96) 评论(0) 推荐(0)
摘要: 今天下午又跟房大佬组队做了一次题,对于昨天出现的问题,有了很大的进步,但仍然存在一些问题。 前 3 道题的做题方式与昨天一致,1A 就过而且 A 的很快,我们做完 3 道时其他队基本都是 1 道题刚开 2 道,这个时候我们开的第 4 题与大饼他们开的第 2 个... 阅读全文
posted @ 2022-09-20 22:56 老程序员111 阅读(9) 评论(0) 推荐(0)
摘要: 今天下午跟房大佬组队做了次模拟赛,严格按照比赛要求,读题只单个单词翻译,总结一下这次比赛出现的问题,下次引以为戒 开始的时候很顺,两人一人一个题开题,第一个出来第二个题直接出,但这个时候该我做的第三个题没有及时跟上,导致我们两个一起做完第三个题后剩下的题一个也... 阅读全文
posted @ 2022-09-20 22:56 老程序员111 阅读(6) 评论(0) 推荐(0)
摘要: Problem Description In some countries building highways takes a lot of time... Maybe that's because there are many possiblities... 阅读全文
posted @ 2022-09-20 22:56 老程序员111 阅读(77) 评论(0) 推荐(0)
摘要: Problem Description You are given a positive integer N. Find the number of the pairs of integers u and v (0≦u,v≦N) such that th... 阅读全文
posted @ 2022-09-20 22:55 老程序员111 阅读(57) 评论(0) 推荐(0)
摘要: Problem Description There are N people, conveniently numbered 1 through N. They were standing in a row yesterday, but now they ... 阅读全文
posted @ 2022-09-20 22:55 老程序员111 阅读(164) 评论(0) 推荐(0)
摘要: 【题目描述】 wzms 今年举办了一场剪刀石头布大赛,bleaves 被选为负责人。 比赛共有 2 n 2n 个人参加, 分为 n 轮, 在每轮中,第 1 位选手和第 2 位选手对战,胜者作为新的第 1 位选手, 第 3 位和第 4 位对战,胜者作为新... 阅读全文
posted @ 2022-09-20 22:55 老程序员111 阅读(45) 评论(0) 推荐(0)
摘要: 【题目描述】 有一个沿海地区,可以看作有n行m列的城市,第i行第j列的城市海拔为h[j]。 由于沿海,所以这个地区经常会发生海啸。 海啸发生时,部分城市会被淹没,具体来说,海水高度会达到d,因此海拔低于d的城市都会被淹没。 现在有q次询问,每次问你一个矩... 阅读全文
posted @ 2022-09-20 22:55 老程序员111 阅读(99) 评论(0) 推荐(0)
摘要: 【题目描述】 小j开始打工,准备赚钱买煤气灶。 第一天,小j的工资为n元,之后每天他的工资都比前一天多d元。 已知煤气灶需要m元,求小j最少工作几天才能买到煤气灶。 【输入描述】 四个整数 n,m,d,x 分别表示小j第一天的工资,煤气灶的价格,工资... 阅读全文
posted @ 2022-09-20 22:55 老程序员111 阅读(14) 评论(0) 推荐(0)
摘要: Problem Description There are N cities. There are also K roads and L railways, extending between the cities. The i-th road bidi... 阅读全文
posted @ 2022-09-20 22:55 老程序员111 阅读(36) 评论(0) 推荐(0)
上一页 1 ··· 45 46 47 48 49 50 51 52 53 ··· 97 下一页