suberking @ 2022-05-06 10:37:43
#include<bits/stdc++.h>//万能头YYDS
using namespace std;
int main(){
long long k,l,m;
for(int i = 1;i<k;i++){
for(int j = 1; j< k; j ++ ){
l = i+j;
m += l;
}
}
printf("%lld",m);
return 0;
}
by suberking @ 2022-05-06 10:37:50
by _Remake_ @ 2022-05-06 10:39:02
您的k没有读入(
by _Remake_ @ 2022-05-06 10:39:31
@suberking
by suberking @ 2022-05-06 10:40:46
@Remake 谢谢() 我居然一直都没有发现