- 博客(9)
- 收藏
- 关注
原创 Contest2835 - 2021个人训练赛第18场
问题 C: Traveling Salesman around Lake题目描述There is a circular pond with a perimeter of K meters, and N houses around them.The i-th house is built at a distance of Ai meters from the northmost point of the pond, measured clockwise around the pond.Whe...
2021-06-06 19:04:48 251
原创 Contest2833 - 2021个人训练赛第17场
问题 A: The Number of Even Pairs时间限制:1Sec内存限制:128 MB提交状态题目描述We have N+M balls, each of which has an integer written on it.It is known that:The numbers written on N of the balls are even.The numbers written on M of the balls are odd.Find the n...
2021-06-06 15:45:16 307 2
原创 Contest2823 - 2021个人训练赛第13场
问题 A: Rotate题目描述Given is a string S of length 3.Move the first character of S to the end of S and print the resulting string S′.ConstraintsS is a string of length 3 consisting of lowercase English letters.输入Input is given from Standard Input in
2021-05-27 19:38:55 320
原创 Contest2821 - 2021个人训练赛第12场
问题 A: Tax Included Price题目描述The consumption tax rate in the Republic of ARC is t percent, where t is a positive integer.There is a shop called Seisu-ya (integer shop) there. It sells each positive integer A for A yen (Japanese currency) excluding tax
2021-05-27 19:26:55 921 2
原创 Contest2819 - 2021个人训练赛第11场
问题 A: God Sequence题目描述A sequence of length A+B, E=(E1,E2,…,EA+B), that satisfies all of the conditions below is said to be a god sequence.E1+E2+⋯+EA+B=0 holds.There are exactly A positive integers among E1,E2,…,EA+B.There are exactly B negative int
2021-05-22 18:05:48 756
原创 Contest2815 - 2021个人训练赛第10场
题L和M见https://blog.csdn.net/ZVAF_/article/details/116834673?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522162125264216780264019610%2522%252C%2522scm%2522%253A%252220140713.130102334.pc%255Fall.%2522%257D&request_id=162125264216780264019610&
2021-05-17 20:26:41 2541
原创 Contest2813 - 2021个人训练赛第9场
问题 C: Error Correction题目描述A boolean matrix has the parity property when each row and each column has an even sum, i.e. containsan even number of bits which are set. Here’s a 4 × 4 matrix which has the parity property:1 0 1 00 0 0 01 1 1 10 1 0 1.
2021-05-15 12:38:23 314
原创 第十二届蓝桥杯C/C++ 大学B组 第二场
A.求余【问题描述】在 C/C++/Java/Python 等语言中,使用 % 表示求余,请问 2021%20 的值是多少?【答案提交】这是一道结果填空的题,你只需要算出结果后提交即可。本题的结果为一个整数,在提交答案时只填写这个整数,填写多余的内容将无法得分。(第一反应是就nm离谱)答案:1B.双阶乘【问题描述】一个正整数的双阶乘,表示不超过这个正整数且与它有相同奇偶性的所有正整数乘积。n 的双阶乘用 n!! 表示。例如:3!! = 3 × 1 = 3。8!! =
2021-05-13 17:29:59 1138
原创 第十二届蓝桥杯C/C++ 大学B组 第一场
A.空间题目描述小蓝准备用 256MB 的内存空间开一个数组,数组的每个元素都是 32 位二进制整数,如果不考虑程序占用的空间和维护内存需要的辅助空间,请问256MB 的空间可以存储多少个 32 位二进制整数?问题分析1 byte= 8 bit , 32 b = 4 byte1 MB = 1024 KB = 1024 * 1024 B#include<bits/stdc++.h>using namespace std;int main(){ cout<<.
2021-05-12 23:31:51 692
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人