随笔分类 -  CF题解

摘要:C.Sort 题目描述 You are given two strings and bof length n. Then, you are (forced against your will) to answer q queries. For each query, you are given a 阅读全文
posted @ 2025-05-19 15:28 渝州炒鸡舞帝神兽大王 阅读(39) 评论(0) 推荐(0)
摘要:D.Fun 题目描述 Given two integers n and x, find the number of triplets (a,b,c) of positive integers such that ab+ac+bc≤nand a+b+c≤x. Note that order matte 阅读全文
posted @ 2025-05-19 09:36 渝州炒鸡舞帝神兽大王 阅读(49) 评论(0) 推荐(0)
摘要:A.LCM Problem 题目描述 Let LCM(x,y) be the minimum positive integer that is divisible by both x and y. For example, LCM(13,37)=481 , LCM(9,6)=18. You are 阅读全文
posted @ 2025-05-19 08:57 渝州炒鸡舞帝神兽大王 阅读(80) 评论(0) 推荐(0)
摘要:A.Rudolf and the Ticket 题目描述 Rudolf is going to visit Bernard, and he decided to take the metro to get to him. The ticket can be purchased at a machin 阅读全文
posted @ 2025-05-19 08:18 渝州炒鸡舞帝神兽大王 阅读(62) 评论(0) 推荐(0)
摘要:A.Fafa and his Company 题目描述 Fafa owns a company that works on huge projects. There are n employees in Fafa's company. Whenever the company has a new p 阅读全文
posted @ 2025-05-18 22:40 渝州炒鸡舞帝神兽大王 阅读(37) 评论(0) 推荐(0)