edited t.cc

This commit is contained in:
Jiri Pittner 2024-03-12 13:39:42 +01:00
parent 49a20be2bb
commit 9c666d2b5c

16
t.cc
View File

@ -3153,7 +3153,7 @@ for(int i=0; i<a.size(); ++i)
}
}
if(1)
if(0)
{
NRMat<double> a;
cin>>a;
@ -3161,5 +3161,19 @@ cout <<a.rsum()<<endl;
cout <<a.csum()<<endl;
}
if(1)
{
int n;
cin>>n;
int count=0;
for(int i=4; i<=n; ++i)
for(int j=3; j<i; ++j)
for(int k=2; k<j; ++k)
for(int l=1; l<k; ++l)
++count;
cout <<count<<" "<<binom(n,4)<<endl;
}
}