题解 1857: 姜太公钓鱼

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

筛选

姜太公钓鱼 (C语言代码)

摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){    int n,x,i,sum=0;    scanf("%d",&n);    for(i=1;i<=n;……

姜太公钓鱼 (C语言代码)

摘要:解题思路:水题。不用解释了。注意事项:参考代码:#include <stdio.h> int main() {     int n,x,i,k=0;     scanf("%d",&n); ……