| Problem | foodchain |
|---|---|
| User | Hatrix |
| Submission Time | 2026-05-14 11:13:18 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
foodchain.cpp: In function ‘int main()’:
foodchain.cpp:8:24: error: no match for ‘operator^’ (operand types are ‘std::basic_ostream<char>::__ostream_type’ {aka ‘std::basic_ostream<char>’} and ‘int’)
8 | cout << a*b*c*d*e % 10^9+9;
| ~~~~~~~~~~~~~~~~~~~~~~^~~~
| | |
| | int
| std::basic_ostream<char>::__ostream_type {aka std::basic_ostream<char>}
foodchain.cpp:8:24: note: candidate: ‘operator^(int, int)’ <built-in>
8 | cout << a*b*c*d*e % 10^9+9;
| ~~~~~~~~~~~~~~~~~~~~~~^~~~
foodchain.cpp:8:24: note: no known conversion for argument 1 from ‘std::basic_ostream<char>::__ostream_type’ {aka ‘std::basic_ostream<char>’} to ‘int’
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:45,
from foodchain.cpp:1:
/usr/include/c++/9/cstddef:179:3: note: candidate: ‘constexpr std: