#17526: 這樣對嗎


ufve0704 (爬 我爬 我爬爬爬 有排行榜這種東西就是要爬 爬過我上面的那...)


#include<bits/stdc++.h>
using namespace std;
int c=0;
int a(int b){
c=c+b;
b&&a(b-1);
return c;
}
int main(){
int d;
scanf("%d",&d);
printf("%d",a(d));
}

沒有不合題目吧(希望