0_0_27153778_32321.cpp:1:1: error: 'LL' does not name a type
LL f(int x, int y, int& g, int& c)
^
0_0_27153778_32321.cpp: In function 'void init()':
0_0_27153778_32321.cpp:19:14: error: 'get_int' was not declared in this scope
get_int(n);
^
0_0_27153778_32321.cpp: In function 'void solve()':
0_0_27153778_32321.cpp:31:13: error: 'LL' was not declared in this scope
LL ff = f(i, j, g, c);
^
0_0_27153778_32321.cpp:35:20: error: expected ';' before 'a0'
LL a0 = (i + k * j) * j / ff;
^
0_0_27153778_32321.cpp:36:20: error: expected ';' before 'd'
LL d = c * j * j / ff;
^
0_0_27153778_32321.cpp:37:20: error: expected ';' before 'num'
LL num = (n - (i + k * j)) / (c * j) + 1;
^
0_0_27153778_32321.cpp:38:31: error: 'a0' was not declared in this scope
ans = ((ans + a0 * num) % p + num * (num - 1) / 2 % p * d % p) % p;
^
0_0_27153778_32321.cpp:38:36: error: 'num' was not declared in this scope
ans = ((ans + a0 * num) % p + num * (num - 1) / 2 % p * d % p) % p;
^
0_0_27153778_32321.cpp:38:73: error: 'd' was not declared in this scope
ans = ((ans + a0 * num) % p + num * (num - 1) / 2 % p * d % p) % p;
^
0_0_27153778_32321.cpp:42:23: error: 'printf' was not declared in this scope
printf("%d\n", ans);
^
0_0_27153778_32321.cpp: In function 'int main()':
0_0_27153778_32321.cpp:48:14: error: 'get_int' was not declared in this scope
get_int(T);
^
|