1849

【题解】Educational Codeforces Round 152(CF1849)

## A.Morning Sandwich ### 题目描述: 吃货小 C 喜欢三明治,他有三种材料:面包、芝士、火腿。正确的三明治组合应为一层面包和一层芝士或火腿之一轮流放置,以面包为结尾,例如面包-芝士-面包-火腿-面包就是合法的三明治。 给定每次做三明治的材料:$ b $ 面包,$ c $ 芝 ......
题解 Educational Codeforces Round 1849

CF1849F

[问题链接](https://codeforces.com/contest/1849/problem/F) 这里说一种非常简单的单$log$方法 显然地,如果在某二进制位上,有一些数字是$0$,另一些是$1$,那么我们考虑尽量地将这一位相同的数字分到不同的集合中,那么可以建一张图,图上相邻的点不在同 ......
1849F 1849 CF

cf1849做题记录

## A [题面](https://www.luogu.com.cn/problem/CF1849A) 分类讨论 $b+c$ 和 $a$ 的大小即可。 点击查看代码 ``` #include #define ull unsigned long long #define ll long long #d ......
1849 cf

CF1849C Binary String Copying

[Link](https://codeforces.com/contest/1849/problem/C) 我们想一下,什么时候两种变换是相同的 或者说,这意味着什么。 本题目有特殊性,特殊性就在于只有0和1 对于每一个被改变的区间$[L_i,r_I]$,从$l_i$开始的那一堆0,和从$r_i$开 ......
Copying Binary String 1849C 1849

[CF1849F] XOR Partition

# XOR Partition ## 题目描述 For a set of integers $ S $ , let's define its cost as the minimum value of $ x \oplus y $ among all pairs of different intege ......
Partition 1849F 1849 XOR CF

【题解】Max to the Right of Min - Codeforces 1849E

**出处:** Educational Codeforces Round 152 **链接:** https://codeforces.com/problemset/problem/1849/E **题目大意:** TODO(先去看原题吧) **解题思路:** PS:这里的解题思路跟标准答案不太一样 ......
题解 Codeforces 1849E Right 1849

P1849 乌龟棋

#include <bits/stdc++.h> using namespace std; int n, m, a[351], r[5], dp[41][41][41][41]; #define getchar() (p1 == p2 && (p2 = (p1 = buf) + fread(buf, ......
乌龟 P1849 1849
共7篇  :1/1页 首页上一页1下一页尾页