int test(int N) { int cnt = 0; for (int i = 1; i <= N; i++) { for (int j = 1; j <= 8 * i; j++) { cnt++; } } return cnt; }