#include <bits/stdc++.h> using namespace std; void solve() { int n; cin >> n; vector<int> a(n + 1), pos(n + 1); for (int i = 1; i <= n; i ++ ) { cin >> a[i]; pos[a[i]] = i; } vector<array<int, 2>> ans; for (int i = 1; i <= n; i ++ ) if...
AtCoder Beginner Contest 350 B - Dentist Aoki# 难度: ⭐# 题目大意# 现在有数列1 ~ n, 现在有m次操作, 每次给出一个x, 如果x存在就是删去, 不存在就加上; 问最后数列还剩多少个; 解题思路# 数据很小, 暴力就行; 神秘代码# #include<bits/stdc++.h> #define int long long #define IOS ios...
AtCoder Beginner Contest 350 A - Past ABCs (abc350 A) 题目大意 给定一个形如ABCXXX的字符串。 问XXX是否是001→349001→349之间,且不能是316316。 解题思路 将后三位转换成数字后判断即可。 神奇的代码 a = int(input().strip()[3:]) if a >= 1 and a <= 349 and a != 316: print("Yes...
#include<bits/stdc++.h> using namespace std; void solve() { string s; cin >> s; int num = 0; for (int i = 3; i <= 5; i++) { num = num * 10 + s[i] - '0'; } if (num >= 350 || num <= 1 || num == 316) { cout << "No" << endl; } else { cout <...
We will hold Tokio Marine & Nichido Fire Insurance Programming Contest 2024(AtCoder Beginner Contest 355). Contest URL:https://atcoder.jp/contests/abc355 Start Time:http://www.timeanddate.com/worldclock/fixedtime.html?iso=20240525T2100&p1=248 ...
We will hold Tokio Marine & Nichido Fire Insurance Programming Contest 2024(AtCoder Beginner Contest 355).Contest URL: https://atcoder.jp/contests/abc355Start Time: http://www.timeanddate.com/worldclock/fixedtime.html?iso=20240525T2100&p1=248Duration: 100 minutes...
·AtCoder Beginner Contest (ABC) 这是最频繁且最简单的入门赛,通常情况下每月至少举行2次。2019年4月27日(含)之前,每场比赛共4题,时长100分钟,满分1000分且Rating超过1199的选手不计Rating值。自2019年5月19日起改版升级为6道题目,时长不变,满分2100分且Rating值超过1999的选手不计Rating值。改版之后比赛质量...
756 -- 33:04 App AtCoder Beginner Contest 328 A 至 G 題讲解 by dreamoon 812 -- 41:43 App AtCoder Beginner Contest 327 A 至 G 題讲解 by dreamoon 606 -- 57:39 App AtCoder Beginner Contest 350 A 至 G 題讲解 by dreamoon 681 -- 48:08 App AtCoder Beginner Contest 332 A 至...
Σ 大赛——AtCoder Beginner Contest 353 https://www.bilibili.com/video/BV1kt421u7XK/ https://www.bilibili.com/video/BV1vf42127tH/ AtCoder Beginner Contest 353 实况(A~E) https://www.bilibili.com/video/BV1Gs421N748/ https://www.bilibili.com/video/BV19E42137MQ/ AtCoder Beginner Cont...
AtCoder Beginner Contest 100 完整解题报告 题目链接 https://beta.atcoder.jp/contests/abc100/tasks A题 #include <iostream> using namespace std; int main() { int a, b; cin >> a >> b; cout << ((a <= 8 && b <= 8) ? "Yay!" : ":(") << endl;...