# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
710370 | lam | Duathlon (APIO18_duathlon) | C++14 | 0 ms | 0 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
)
for (int j=1; j<=n; j++)
for (int z=1; z<=n; z++)
if (i!=j&&j!=z&&i!=z)
{
// if (res[i][j][z]) cout<<i<<' '<<j<<' '<<z<<" !! "<<endl;
ans += res[i][j][z];
}
cout<<ans<<'\n';
}