Codeforces 1080C - Masha and two friends - 容斥题解链接https://lucien.ink题目链接https://codeforces.com/contest/1080/problem/C题目Recently, Masha was presented with a chessboard with a height of $n$ and a widt...
Codeforces 1080B - Margarite and the best present题解链接https://lucien.ink题目链接https://codeforces.com/contest/1080/problem/B题目Little girl Margarita is a big fan of competitive programming. She especial...
Codeforces 1080A - Petya and Origami题解链接https://lucien.ink题目链接https://codeforces.com/contest/1080/problem/A题目Petya is having a party soon, and he has decided to invite his $n$ friends.He wants to m...
Codeforces 1088A - Ehab and another construction problem题解链接https://lucien.ink题目链接https://codeforces.com/contest/1088/problem/A题目Given an integer $x$, find 2 integers $a$ and $b$ such that:$1 \le a...
Codeforces 1088E - Ehab and a component choosing problem题解链接https://lucien.ink题目链接https://codeforces.com/contest/1088/problem/E题目You're given a tree consisting of $n$ nodes. Every node $u$ has a we...