Codeforces_849】的更多相关文章

A.只要考虑分成一个串的情况就可以了. #include<bits/stdc++.h> using namespace std; ]; int main() { ios::sync_with_stdio(); cin >> n; ;i <= n;i++) cin >> a[i]; ]% && a[n]% && n%) cout << "Yes" << endl; else cout <…