题解 2775: 等差数列末项计算

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

2025.7.21刷题记录

摘要:解题思路:等差数列第n项为 a1+(n-1)d注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ &nbs……

2775: 等差数列末项计算

摘要:解题思路:注意事项:可以直接使用参考代码:#include<iostream>using namespace std;int main() {int a1,a2,n; cin ……