| Problem | area_noi |
|---|---|
| User | infraredflames |
| Submission Time | 2026-01-29 21:41:03 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
area_noi.cpp: In function ‘int main()’:
area_noi.cpp:6:8: error: overloaded function with no contextual type information
6 | max = 0;
| ^
area_noi.cpp:10:9: error: invalid operands of types ‘int’ and ‘<unresolved overloaded function type>’ to binary ‘operator>’
10 | if(a*b>max){
| ~~~^~~~
area_noi.cpp:11:10: error: overloaded function with no contextual type information
11 | max=a*b;
| ^
area_noi.cpp:14:6: error: no match for ‘operator<<’ (operand types are ‘std::ostream’ {aka ‘std::basic_ostream<char>’} and ‘<unresolved overloaded function type>’)
14 | cout<<max;
| ~~~~^~~~~
In file included from /usr/include/c++/9/iostream:39,
from area_noi.cpp:1:
/usr/include/c++/9/ostream:108:7: note: candidate: ‘std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(std::ba