吴锦洋 @ 2020-11-06 20:33:06
using namespace std; int main() {int a; cin>>a; int b=1,c=1,d=0; for(int r=1;r<=a;r++) {d=d+b; c--; if(c==0) {b++; c=b; } } cout<<d; return 0; }
by momentous @ 2020-11-06 20:36:03
???
by Argon_Cube @ 2020-11-06 20:36:20
望丰展?使MD
by Mikusteriri @ 2020-11-06 20:38:51
望丰展?使MD
by WHENEVER @ 2020-11-23 13:28:58
??? xswl