![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
模拟
文章平均质量分 69
drrrrrrrrr
这个作者很懒,什么都没留下…
展开
-
Sum-2017 ACM-ICPC 亚洲区(西安赛区)
Define the function S(x)S(x) for xx is a positive integer. S(x)S(x) equals to the sum of all digit of the decimal expression of xx. Please find a positive integer kk that S(k*x)\%233=0S(k∗x)%233原创 2017-09-16 15:56:01 · 599 阅读 · 0 评论 -
Codeforces 961C Chessboard
Magnus decided to play a classic chess game. Though what he saw in his locker shocked him! His favourite chessboard got broken into 4 pieces, each of size n by n, n is always odd. And what's even wo原创 2018-04-08 19:54:10 · 266 阅读 · 0 评论 -
UVALive 7261 Xiongnu's Land
题目大意:给一个矩形区域的右上角的坐标(R,R)的值R,这个矩形区域的左下角的坐标为(0,0),再在这个矩形区域里面给出n个小矩形,现在求一条垂直于x轴的分割线使得线左右两边的小矩形面积在满足,左>右的情况下尽可能的接近;思路:统计一下每个点左右两边的值,暴力来解决,遍历一遍就ok了#include<cstdio> #include<cstring> #inc...原创 2018-04-23 17:06:36 · 200 阅读 · 0 评论