上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 36 下一页
摘要: 题目描述 WYF为了保证他自己能够吃到足够多的牛排,来补充自己的脑力,所以他建了两个补给站,坐标分别为(ax,ay),(bx,by)。他有n个休息地点,第i个休息地点的坐标是(xi,yi)。每个补给站都有一个补给半径,当一个休息地点在以一个补给站为圆心,该补给站的补给半径为半径的圆中时(包括在圆周上 阅读全文
posted @ 2025-10-14 08:43 bz02_2023f2 阅读(2) 评论(0) 推荐(0)
摘要: Time Limit: 4 sec / Memory Limit: 512 MiB Score : 700 points  Problem Statement Haiku is a short form of Japanese poetry. A Haiku consists of three 阅读全文
posted @ 2025-10-13 18:24 bz02_2023f2 阅读(2) 评论(0) 推荐(0)
摘要: 题目背景 受疫情影响,山东省取消了 CSP-J 2022 认证活动,并于次年三月重新命题,在省内补办比赛。 题目描述 "文章本天成,妙手偶得之。" 吟诗是表达情怀的常用手段,战争落下了帷幕,常年的军旅生活使得小虾米喜欢上了豪放派的诗歌。 这一天,小虾米突然想吟诗了。著名的豪放派诗人苏轼有“老夫聊发少 阅读全文
posted @ 2025-10-13 16:39 bz02_2023f2 阅读(2) 评论(0) 推荐(0)
摘要: 题目描述 小 F 有 n 个变量 x1​,x2​,…,xn​。每个变量可以取 1 至 v 的整数取值。 小 F 在这 n 个变量之间添加了 n−1 条二元限制,其中第 i(1≤i≤n−1)条限制为:若 xi​=ai​,则要求 xi+1​=bi​,且 ai​ 与 bi​ 为 1 到 v 之间的整数;当 阅读全文
posted @ 2025-10-13 15:34 bz02_2023f2 阅读(1) 评论(0) 推荐(0)
摘要: Time Limit: 2 sec / Memory Limit: 1024 MiB Score : 200 points  Problem Statement For a positive integer x, define f(x) as the sum of the digits in 阅读全文
posted @ 2025-10-13 11:02 bz02_2023f2 阅读(3) 评论(0) 推荐(0)
摘要: Time Limit: 2 sec / Memory Limit: 1024 MiB Score : 100 points  Problem Statement You are given a string S consisting of uppercase English letters. 阅读全文
posted @ 2025-10-13 11:00 bz02_2023f2 阅读(2) 评论(0) 推荐(0)
摘要: Time Limit: 2 sec / Memory Limit: 1024 MiB Score : 600 points  Problem Statement You are given positive integers N and K. Find one length-N sequenc 阅读全文
posted @ 2025-10-13 10:52 bz02_2023f2 阅读(3) 评论(0) 推荐(0)
摘要: Time Limit: 2 sec / Memory Limit: 1024 MiB Score : 500 points  Problem Statement There are N piles of stones, and the i-th pile (1≤i≤N) has Ai​ sto 阅读全文
posted @ 2025-10-13 10:49 bz02_2023f2 阅读(1) 评论(0) 推荐(0)
摘要: time limit per test 1 second memory limit per test 256 megabytes  Let a partition of a multiset B be a collection of multisets s1,s2,…,sk such that 阅读全文
posted @ 2025-10-13 09:39 bz02_2023f2 阅读(2) 评论(0) 推荐(0)
摘要: time limit per test 1.5 seconds memory limit per test 256 megabytes  Given an array c, let f(c) be the number of distinct elements in c. For exampl 阅读全文
posted @ 2025-10-13 09:37 bz02_2023f2 阅读(1) 评论(0) 推荐(0)
上一页 1 ··· 25 26 27 28 29 30 31 32 33 ··· 36 下一页