Problem | chickensoup |
---|---|
User | Pan |
Submission Time | 2023-12-06 16:19:56 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
chickensoup.cpp: In function ‘int main()’:
chickensoup.cpp:84:146: error: invalid operands of types ‘ll’ {aka ‘long long int’} and ‘<unresolved overloaded function type>’ to binary ‘operator<<’
84 | cout << (((r.two%mod - (((2 * i + 3) % mod) * r.one)% mod + ((((i * i)%mod +(3* i)%mod + 2) % mod) * r.zero)%mod + mod)% mod* 499122177)% mod << endl;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
chickensoup.cpp:84:153: error: expected ‘)’ before ‘;’ token
84 | cout << (((r.two%mod - (((2 * i + 3) % mod) * r.one)% mod + ((((i * i)%mod +(3* i)%mod + 2) % mod) * r.zero)%mod + mod)% mod* 499122177)% mod << endl;
| ~ ^
|