Problem | foodchain |
---|---|
User | alettuce |
Submission Time | 2024-03-01 14:26:02 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
foodchain.cpp: In function ‘int32_t main()’:
foodchain.cpp:12:32: error: cannot convert ‘std::basic_istream<char>::__istream_type’ {aka ‘std::basic_istream<char>’} to ‘long long int’ in assignment
12 | sum = cin >> a >> b >> c >> d >> e;
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~
| |
| std::basic_istream<char>::__istream_type {aka std::basic_istream<char>}
foodchain.cpp:13:15: error: invalid type argument of unary ‘*’ (have ‘int’)
13 | cout << (10**9 + 9) % sum;
| ^