- 博客(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
1021
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
536
原创 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 0 0 0 0 0 1 1 1 1 0 1 0 1 The s
2021-05-21 18:21:29
269
原创 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
365
原创 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
461
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅