摘要: B. Madoka and the Elegant Gift 简单翻译: 有n * m个格子,格子的值要么是1,要么是0。 值为1的格子可以组成一些矩阵,如果某个矩阵A被包含在矩阵B之内,那么A就是B的一个子集 如果一个矩阵不被包含在其他任何矩阵之内,这个矩阵就是nice的 如果所有的格子中,nic 阅读全文
posted @ 2022-06-16 22:30 incra 阅读(36) 评论(0) 推荐(0)
摘要: 一定要记得开long long! 一定要记得开long long! 一定要记得开long long! 题目 题意 给你一系列糖果,每个糖果有一个起始的价值 ai ,我们每天都会获得k元,不可积累,每种糖果每天只能买一个,每天,所有糖果都会涨价1元,问最多能买到多少糖果? #include <iost 阅读全文
posted @ 2022-06-16 19:42 incra 阅读(23) 评论(0) 推荐(0)
摘要: You are given a positive integer nn. Let's call some positive integer aa without leading zeroes palindromic if it remains the same after reversing the 阅读全文
posted @ 2022-06-16 10:06 incra 阅读(48) 评论(0) 推荐(0)
摘要: You are an ambitious king who wants to be the Emperor of The Reals. But to do that, you must first become Emperor of The Integers. Consider a number a 阅读全文
posted @ 2022-06-16 10:06 incra 阅读(35) 评论(0) 推荐(0)