首页
Python
Java
前端
数据库
Linux
Chatgpt专题
开发者工具箱
38a专题
Army CodeForces - 38A
http://codeforces.com/problemset/problem/38/A 将l到r-1的数加起来即可 #include<bits/stdc++.h>using namespace std;int main(){int n;int aa[111];while(cin>>n){for(int i=1;i<=n-1;i++)cin>>aa[i];long long
阅读更多...