Codeforces Round 968 (Div. 2) C++ (A-D1)
比赛地址 : Dashboard - Codeforces Round 968 (Div. 2) - Codeforces A 只用考虑第一个和最后一个不相等就行了 #include<bits/stdc.h> #define IOS ios::sync_with_stdio(0);cin.tie(0);cout.tie(0); using namespace std; typedef long long LL; #define int lo…
2025-07-11