上一页 1 ··· 51 52 53 54 55 56 57 58 59 ··· 97 下一页
摘要: Problem Description Given a string t, we will call it unbalanced if and only if the length of t is at least 2, and more than ha... 阅读全文
posted @ 2022-09-20 22:55 老程序员111 阅读(27) 评论(0) 推荐(0)
摘要: Problem Description Evi has N integers a1,a2,..,aN. His objective is to have N equal integers by transforming some of them. He... 阅读全文
posted @ 2022-09-20 22:55 老程序员111 阅读(19) 评论(0) 推荐(0)
摘要: Problem Description We have a large square grid with H rows and W columns. Iroha is now standing in the top-left cell. She will... 阅读全文
posted @ 2022-09-20 22:55 老程序员111 阅读(11) 评论(0) 推荐(0)
摘要: Problem Description Iroha is very particular about numbers. There are K digits that she dislikes: D1,D2,…,DK. She is shopping,... 阅读全文
posted @ 2022-09-20 22:55 老程序员111 阅读(0) 评论(0) 推荐(0)
摘要: 【题目描述】 小希现在需要你构建一个简单的方格图迷宫,'.'作为路,'x'作为障碍。 要求方格图大小为N*M,起点到终点的最短距离恰好为K。 方格图为四连通,即对于任何一个格子只能上下左右走,相邻格子距离为1,不能走出边界。 【输入描述】 一行给... 阅读全文
posted @ 2022-09-20 22:55 老程序员111 阅读(16) 评论(0) 推荐(0)
摘要: Problem Description In the Test of English as a Foreign Language (TOEFL), the listening part is very important but also very ha... 阅读全文
posted @ 2022-09-20 22:55 老程序员111 阅读(109) 评论(0) 推荐(0)
摘要: Problem Description DreamGrid has just found an integer sequence a1,a2,...,an in his right pocket. As DreamGrid is bored, he de... 阅读全文
posted @ 2022-09-20 22:55 老程序员111 阅读(17) 评论(0) 推荐(0)
摘要: 题目 小b有一个非负整数 N,她想请你找出 ≤N 的最大整数x,满足x各个位数上的数字是不降的。也就是说,设x的十进制表示为 a1,a2,…,am,则对于任意 1≤i#include#include#include#include#include#inc... 阅读全文
posted @ 2022-09-20 22:55 老程序员111 阅读(42) 评论(0) 推荐(0)
摘要: Problem Description There are less than 60 years left till the 900-th birthday anniversary of a famous Italian mathematician Le... 阅读全文
posted @ 2022-09-20 22:55 老程序员111 阅读(41) 评论(0) 推荐(0)
摘要: 题目 小b有一个仅包含非负整数的数组a,她想知道有多少个三元组(i,j,k),满足i#include#include#include#include#include#include#include#include#include#include#incl... 阅读全文
posted @ 2022-09-20 22:55 老程序员111 阅读(87) 评论(0) 推荐(0)
上一页 1 ··· 51 52 53 54 55 56 57 58 59 ··· 97 下一页