Problem chickensoup
User Pan
Submission Time 2024-09-12 17:19:20
Score 0
Max Time N/A
Max Memory N/A

Compile Error

chickensoup.cpp: In function ‘int32_t main()’:
chickensoup.cpp:99:177: error: cannot convert ‘std::basic_ostream<char>::__ostream_type’ {aka ‘std::basic_ostream<char>’} to ‘long long int’ in initialization
99 | int result = cout << ((psum.three%mod - (((2 * i + 3) % mod) * psum.two)% mod + ((((i * i)%mod +(3* i)%mod + 2) % mod) * psum.one)%mod + mod)% mod* 499122177)% mod << endl;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
| |
|