![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
codeforce
Josgu
这个人太懒了,但从今天他要开始产量似母猪了
展开
-
Codeforces--839A--Arya and Bran
题目 Bran and his older sister Arya are from the same house. Bran like candies so much, so Arya is going to give him some Candies.At first, Arya and Bran have 0 Candies. There are n days, at the i-th da原创 2017-11-07 11:28:49 · 209 阅读 · 0 评论 -
Gym--100952B--New Job
题目 This is the first day for you at your new job and your boss asks you to copy some files from one computer to other computers in an informatics laboratory. He wants you to finish this task as fast a原创 2017-11-06 23:37:59 · 309 阅读 · 0 评论 -
Codeforces--447Div.2--A
题目给出一串字符,题目要求输出有多少个QAQ,不限制中间穿插了多少个字符,不同的QAQ可以使用同一个Q或者A。 由于数据量较少,我是暴力遍历出来的,贼菜 代码如下:#include<cstdio>#include<cstring>char a[105];int main(){ int count=0; scanf("%s",a); int len=strlen(a原创 2017-11-22 20:56:06 · 227 阅读 · 0 评论 -
Codeforces--477Div.2--B
题目这个题目是个思维题,同时包含着快速幂运算,规律找出来后用个快速幂的板子很好AC题意: 题目给出m x n的网格,要求每行每列相乘都是等于1或者-1 可以很快得出每个格子只能填-1或者1(题目中要求是整数),那么我们也可以知道的是,每一行每一列的乘积应该是取决于最后一个填入网格的数字,假设一列中有n个数字,那么前n-1个数字是随意填1或者-1的,第n个数字就必须为一个定值。初步可以得出的结论是原创 2017-11-27 20:08:27 · 197 阅读 · 0 评论