0_0_35904755_3107.cpp: In function 'void solve()':
0_0_35904755_3107.cpp:3:12: error: expected primary-expression before 'long'
#define ll long long
^
0_0_35904755_3107.cpp:18:15: note: in expansion of macro 'll'
a[i] = (p * ll(a[i - 1]) + (ll)q * i + r) % mod;
^
0_0_35904755_3107.cpp:3:12: error: expected ')' before 'long'
#define ll long long
^
0_0_35904755_3107.cpp:18:15: note: in expansion of macro 'll'
a[i] = (p * ll(a[i - 1]) + (ll)q * i + r) % mod;
^
|