04 2024 档案

ABC350
摘要:G题暴力有点难绷。。 T1:Past ABCs 考虑后三个字符构成的十进制数即可 注意ABC000也要考虑 代码实现 s = input() id = int(s[3:]) if 1 <= id <= 349 and id != 316: print('Yes') else: print('No') 阅读全文
posted @ 2024-04-21 00:28 V_Melville 阅读(11) 评论(0) 推荐(0) 编辑
ABC348
摘要:T1:Penalty Kick 模拟 代码实现 #include <bits/stdc++.h> using namespace std; int main() { int n; cin >> n; string ans; for (int i = 1; i <= n; ++i) { if (i%3 阅读全文
posted @ 2024-04-06 23:54 V_Melville 阅读(32) 评论(0) 推荐(0) 编辑

 
点击右上角即可分享
微信分享提示