879

Codeforces Round 879 (Div. 2) B. Maximum Strength

定义正整数 \(C = \overline{c_1c_2 \cdots c_k} = c_1 \cdot 10^{k-1} + c_2 \cdot 10^{k - 2} + \cdots + c_1\) 。 假设有两个正整数 \(X = \overline{x_1x_2 \cdots x_n}, Y ......
Codeforces Strength Maximum Round 879

[879] Run stand-alone scripts of arcpy

Ref: Run stand-alone scripts plain paste in Windows: shift+ctrl+V How do I run a stand-alone script? In other ArcGIS products, a Python script is run ......
stand-alone scripts stand alone arcpy

Codeforces Round 879 (Div. 2)E. MEX of LCM(数学,数据结构)

题目链接:https://codeforces.com/contest/1834/problem/E 题意: 有长度为n的序列,问最小的正整数 x ,对于任意连续的子区间,区间的数的最小公倍数 都不等于 x; 分析: 首先来分析一下答案的范围是多少; 我们可以知道,对于长度 为n 的序列,前 n + ......
数据结构 Codeforces 结构 数学 数据

Codeforces Round #879 Div.2

[link](https://codeforces.com/contest/1834) 前言:VP了一把,rk731,如果赛上有这发挥就好了。 果然,D是分水岭,一直都是。 ## [Unit Array](https://codeforces.com/contest/1834/problem/A) ......
Codeforces Round 879 Div

Codeforces Round 879 (Div. 2)

# Preface 补题 其实这场题目昨天基本就写好了,但因为昨天晚上有CF所以博客就先没写,鸽到今天才补 这场的难度只能说有点过于简单了,D之前都是一眼题,E最近学校那边做过类似的题目,F读懂题意后想到关键后也是个丁真题 # A. Unit Array 为了偷懒我就直接枚举最后有多少个$-1$了 ......
Codeforces Round 879 Div

Codeforces Round 879 (Div. 2)

其实昨天就应该写了,不过D不太会,但是今天补题发现D还是不太会 A: 给定包含-1和1的数字序列,要求满足这个序列 并且你可以将序列中的-1改成1,也可以将序列中的1改成-1, 让你确定将一个随机序列改成满足要求的序列的最小操作数 1 #include<cstdio> 2 #include<cstr ......
Codeforces Round 879 Div

Codeforces Round 879 (Div.2) B ~ D

D题补了一天... ## B. Maximum Strength [Problem - B - Codeforces](https://codeforces.com/contest/1834/problem/B) ### 题意 给定两串数字,在这两串数字之间找两串数字,要求每一数位之差的绝对值之和最 ......
Codeforces Round 879 Div

Codeforces Round #879 (Div. 2) A-E

[比赛链接](https://codeforces.com/contest/1834) # A ## 代码 ```c++ #include using namespace std; using ll = long long; bool solve() { int n; cin >> n; int c ......
Codeforces Round 879 A-E Div

Codeforces Round 879 (Div. 2) 题解

寄!大!了! Rating -= 124. ![image](https://img2023.cnblogs.com/blog/3143679/202306/3143679-20230619222246244-5109748.png) (恼) https://codeforces.com/conte ......
题解 Codeforces Round 879 Div

Codeforces 1834 / Codeforces Round #879 (Div. 2)

[TOC] ### Contest Link [Codeforces Round #879 (Div. 2)](https://codeforces.com/contest/1834) ### Problem B [Maximum Strength](https://codeforces.com/c ......
Codeforces Round 1834 879 Div

Codeforces Round 879 (Div

# [Codeforces Round 879 (Div. 2)](https://codeforces.com/contest/1834) A-D题解 第一次写题解,请见谅O3O a题代码是完整的,后面的只显示主要内容的代码 ## A. Unit Array 题目解释 他会给你一个只包含1或者-1 ......
Codeforces Round 879 Div

Codeforces1 #879 div.2

第一次参加codeforces比赛,只能做出来俩题,第三个题思路也就一半一半,估计是想不出来的那种,赛后问了下带佬,把我思路添加了点,最终还是A了 争取稳过第三题! //A //统计1,-1出现的次数,然后如果-1是奇数,让他变成偶数,次数+1 //因为总乘积要是正1,然后再变-1为1,直到>=0为 ......
Codeforces1 Codeforces 879 div
共12篇  :1/1页 首页上一页1下一页尾页