比赛链接:https://atcoder.jp/contests/abc221/tasks A - Seismic magnitude scales 题意 给出两个正整数 \(a, b\) ,计算 \(32^{a - b}\) 。 \(3 \le b \le a \le 9\) 题解 \(32^{a
思路:第一次赛时AC F题,太吊啦!!! AC 代码 Beginner Contest 333(更新中) 跳转比赛链接 A - Three Threes 思路:for 循环。 AC 代码 B - Pentagon 思路:对比差值即可。 AC 代码 C - Repunit Trio 思路:预处理,之后直接输出即可。 AC 代码 D - Erase Leaves 思路:找顶点1所有子节点删除所需的数量总和...
// Problem: D - Online games // Contest: AtCoder - AtCoder Beginner Contest 221 // URL: https://atcoder.jp/contests/abc221/tasks/abc221_d // Memory Limit: 1024 MB // Time Limit: 2000 ms // // Powered by CP Editor (https://) #include<bits/stdc++.h> usingnamespacestd; typed...
2冠最速(パフォ)2冠最遅(パフォ)C問題のdiff ABC362 461 139 521 ABC360 360 283 約800 ABC359 721 89 828 ABC352 221 136 136 ABC350 507 136 394はい。こんな感じです。 回によっては差は100以下の時もありますが、ひどいときには600以上も差がつきます。そのため、早解きは大事なので...
abc038 D - プレゼント Binary Indexed Tree abc036 C - 座圧 座標圧縮 abc113 C - ID 座標圧縮 abc107 B - Grid Compression 座標圧縮 abc213 C - Reorder Cards 座標圧縮 abc231 F - Jealous Two 座標圧縮, Binary Indexed Tree abc234 D - Prefix K-th Max Heap, Binary Indexed Tre...
记录刷atcoder..刚大一,希望我能在今年年底之前刷完所有abc的e题。然后刷abc的f和g题,然后去补arc,agc...因为现在没有建好github的博客,觉得贴吧是个好平台,就先记录在贴吧里了。不知道会有谁会注意到
// Problem: D - Online games// Contest: AtCoder - AtCoder Beginner Contest 221// URL: https://atcoder.jp/contests/abc221/tasks/abc221_d// Memory Limit: 1024 MB// Time Limit: 2000 ms/// Powered by CP Editor (https://cpeditor.org)#include<bits/stdc++.h>using namespace std;typed...
题目地址:https://atcoder.jp/contests/abc366/tasks 题目讲解(识别下方二维码可查看视频题解): ABC366题解(文字版) ►A代码 A代码 #include<bits/stdc++.h> #definefi first#definese second#defineDB double#defineU unsigned#defineP std::pair#defineLL long long#defineLD long double#definepb emplace...
F.One Fourth 问题陈述 ABC 250是高橋的一個令人難以忘懷的季度里程碑,他旨在舉辦ABC 1000,因此他將通過盡可能接近他購買的披薩來慶祝這場比賽。1/4 高橋買的披薩呈凸形-gon的平面形狀。当披萨放置在 -平面上时,第 -个顶点具有坐标 。Nxyi(Xi,Yi) 高橋決定切吃比薩如下。 首先,高橋從披薩的頂點中...
221 222 223 224 225 226 ABC226_A.py ABC226_B.py ABC226_C.py ABC226_D.py ABC226_E.py ABC226_F.py ABC226_G.py 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264...