代码编织梦想

abc341 a-爱代码爱编程

Toyota Programming Contest 2024#2(AtCoder Beginner Contest 341) - AtCoder B读不懂题卡了,F读假题卡了,开题开慢了rank++了 A - Print 341 题意: 打印一串交替出现的包含N个0,N+1个1的01串 代码: void solve() { int n

atcoder beginner contest 335 (a -爱代码爱编程

A - 2023 Problem Statement You are given a string S

atcoder beginner contest 341_atcoder beginner contest 341)-爱代码爱编程

A - Print 341 (atcoder.jp)         1.思路:模拟输出即可。         2.代码: #include <bits/stdc++.h> #define rep(i,z,n) for(int i = z;i <= n; i++) #define per(i,n,z) for(int i = n;i

abc335b -爱代码爱编程

problem link Since n ≤

abc335a -爱代码爱编程

problem link Simply string modification problem. Just input a string variable and change the last character to

abc335c -爱代码爱编程

problem link A brute force solution to this problem would be modifying all

atcoder beginner contest 340e -爱代码爱编程

problem link Unravelling the modular arithmetic operations, the problem is quite obviously a data structure pro

atcoder beginner contest 341f breakdown_atcoder abc341f-爱代码爱编程

problem link The condition of choosing a subset of neighbors to pass down the piece is highly similar to a back

atcoder beginner contest 341e alternating string-爱代码爱编程

problem link In this problem, a good string will remain to be a good string no matter how many times it has bee

atcoder beginner contest 341d only one of two-爱代码爱编程

problem link Its is evident that the data is too large for enumeration. However, for a given

(atcoder beginner contest 341)(a -爱代码爱编程

比赛地址 :  Tasks - Toyota Programming Contest 2024#2(AtCoder Beginner Contest 341) A . Print 341 模拟就好了 , 先放一个 1 , 然后放 n 个 01 ; #include<bits/stdc++.h> #define IOS ios::sy

atcoder beginnner contest 341 a~g-爱代码爱编程

A.Print 341(模拟) 题意: 给定一个正整数 N N

atcoder beginner contest 342 (abcdefg题)视频讲解-爱代码爱编程

A - Yay! Problem Statement You are given a string S

codeforces round 913 (div. 3) a~e_a. removal of unattractive pairs-爱代码爱编程

目录 A. Rook  问题分析:  B. YetnotherrokenKeoard 问题分析:   C. Removal of Unattractive Pairs 问题分析:   D. Jumping Through Segments 问题分析:   E. Good Triples 问题分析:   A. Rook 

daiwa securities co. ltd. programming contest 2023(atcoder beginner contest 331)-爱代码爱编程

Daiwa Securities Co. Ltd. Programming Contest 2023(AtCoder Beginner Contest 331) - AtCoder #include<bits/stdc++.h> using namespace std; #define int long long signed main

abc332 a-爱代码爱编程

AtCoder Beginner Contest 332 - AtCoder 打的最难受的一集,前三题阅读理解,D暴力没想出来,E典的子集dp,F一眼区间乘加的线段树但是没时间写,掉大分,要被新生单调队列优化了 A - Online Shopping 题意: 购物,N种商品,每种商品Pi元买Qi个,满S元包邮,否则加K元邮费,问实付多少 题解:

atcoder beginner contest 332 a-爱代码爱编程

比赛链接:https://atcoder.jp/contests/abc332比赛时间:2023年 12 月 10 日 20:00-21:40 A题:Online Shopping 标签:枚举、模拟题意:给定

atcoder beginner contest 333 a~f-爱代码爱编程

A.Three Threes(循环) 题意: 给出一个正整数 N N

abc331 a-爱代码爱编程

Daiwa Securities Co. Ltd. Programming Contest 2023(AtCoder Beginner Contest 331) - AtCoder 掉大分的一场。D好若至调了好久,EF倒是全都一眼出做法...然而F手搓写bug了直到赛后才找到sb错误... A - Tomorrow 题意: 每年M月,每个月D天,求