03 2025 档案

ABC396
摘要:A. Triple Four 模拟 代码实现 n = int(input()) a = list(map(int, input().split())) ans = any(a[i] == a[i+1] == a[i+2] for i in range(n-2)) print('Yes' if ans 阅读全文
posted @ 2025-03-09 00:10 V_Melville 阅读(33) 评论(0) 推荐(0) 编辑
ABC395
摘要:A. Strictly Increasing? 模拟 代码实现 #include <bits/stdc++.h> #define rep(i, n) for (int i = 0; i < (n); ++i) using namespace std; int main() { int n; cin 阅读全文
posted @ 2025-03-01 23:53 V_Melville 阅读(26) 评论(0) 推荐(0) 编辑

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