- 博客(5)
- 收藏
- 关注
原创 2021/5/22 upc-Contest2820 - 2021个人训练赛第11场(补题场)
以下补题来自各位大佬的帮助B: ARC Wrecker题目描述There are N buildings along AtCoder road. Initially, the i-th building from the left has Ai stories.Takahashi, the president of ARC Wrecker, Inc., can do the following operation any number of times, possibly zero:Choose
2021-05-22 13:44:34 822 1
原创 2021/5/21 upc-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 integers
2021-05-22 13:37:42 489
原创 2021/5/20 upc-Contest2814-2021个人训练赛第9场(补题场)
C: Error Correction题目描述A boolean matrix has the parity property when each row and each column has an even sum, i.e. contains an 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 1The s
2021-05-21 18:21:29 207
原创 2021/5/16 upc-Contest2815-2021个人训练赛第10场
A.No Problem!题目描述Programming contests are being arranged so frequently these days. While this might be a good news for the contestants, the scenario is completely opposite for the problemsetters. So far, the problemsetters somehow managed to produce som
2021-05-21 18:15:51 303
原创 2021/5/14 upc-Contest2813-2021个人训练赛第9场
E.#include<iostream>#include<cstdio>#include<cstring>#include<string>using namespace std;int main(){ char c[22]; while(scanf("%s",c)!=EOF) { int n=strlen(c); for(int i=0;i<n;i++) { int j=i; if(c[i]=='B'||c[i
2021-05-15 14:18:23 392
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人