第二题代码。过了25%,不知道哪里错了,求个大佬帮忙看看!!!! // we have defined the necessary header files here for this problem. // If additional header files are needed in your program, please import here. #include<bits/stdc++.h> using namespace std; int main() { int n; cin >> n; int ans = 0; vec...