#include <cstdio> #include <cstring> #include <cstdlib> #include <iostream> #include <algorithm> using namespace std; int main() { int ans[7][8] = { {0, 0, 0, 0, 0, 0, 0, 0},{0, 0, 1, 2, 3, 4, 5, 6}, {0, 0, 6, 15, 28, 45, 66, 91}, {0, 0, 0, 52,...