0_0_36709687_1677.cpp:17:1: error: 'LL' does not name a type
LL f(int x, int y, int& g, int& c)
^
0_0_36709687_1677.cpp: In function 'void init()':
0_0_36709687_1677.cpp:35:15: error: 'get_int' was not declared in this scope
get_int(n);
^
0_0_36709687_1677.cpp: In function 'void solve()':
0_0_36709687_1677.cpp:47:14: error: 'LL' was not declared in this scope
LL ff = f(i, j, g, c);
^
0_0_36709687_1677.cpp:51:21: error: expected ';' before 'a0'
LL a0 = (i + k * j) * j / ff;
^
0_0_36709687_1677.cpp:52:21: error: expected ';' before 'd'
LL d = c * j * j / ff;
^
0_0_36709687_1677.cpp:53:21: error: expected ';' before 'num'
LL num = (n - (i + k * j)) / (c * j) + 1;
^
0_0_36709687_1677.cpp:54:32: error: 'a0' was not declared in this scope
ans = ((ans + a0 * num) % p + num * (num - 1) / 2 % p * d % p) % p;
^
0_0_36709687_1677.cpp:54:37: error: 'num' was not declared in this scope
ans = ((ans + a0 * num) % p + num * (num - 1) / 2 % p * d % p) % p;
^
0_0_36709687_1677.cpp:54:74: error: 'd' was not declared in this scope
ans = ((ans + a0 * num) % p + num * (num - 1) / 2 % p * d % p) % p;
^
0_0_36709687_1677.cpp: In function 'int main()':
0_0_36709687_1677.cpp:64:15: error: 'get_int' was not declared in this scope
get_int(T);
^
|