| Problem | flamethrower | 
|---|---|
| User | Water | 
| Submission Time | 2023-09-19 21:41:35 | 
| Score | 0 | 
| Max Time | N/A | 
| Max Memory | N/A | 
Owl Get a Life
 flamethrower.cpp: In function ‘int main()’:
flamethrower.cpp:19:19: error: overloaded function with no contextual type information
   19 |  max = sum(A, 0, k);
      |                   ^
flamethrower.cpp:22:9: error: invalid operands of types ‘int’ and ‘<unresolved overloaded function type>’ to binary ‘operator>’
   22 |   if (j > max){
      |       ~~^~~~~
flamethrower.cpp:23:8: error: cannot resolve overloaded function ‘max’ based on conversion to type ‘int’
   23 |    j = max;
      |        ^~~
flamethrower.cpp:26:7: error: no match for ‘operator<<’ (operand types are ‘std::ostream’ {aka ‘std::basic_ostream<char>’} and ‘<unresolved overloaded function type>’)
   26 |  cout << max;
      |  ~~~~~^~~~~~
In file included from /usr/include/c++/9/iostream:39,
                 from flamethrower.cpp:1:
/usr/include/c++/9/ostream:108:7: note: candidate: ‘std::basic_ostream<_CharT, _Traits>::__ostream_t