Problem | f7 |
---|---|
User | PrunJuice |
Submission Time | 2024-10-10 19:48:50 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
f7.cpp: In function ‘int main()’:
f7.cpp:7:3: error: expected ‘,’ or ‘;’ before ‘int’
7 | int count = 0;
| ^~~
f7.cpp:13:15: error: overloaded function with no contextual type information
13 | count += 1;
| ^
f7.cpp:17:15: error: overloaded function with no contextual type information
17 | count += 1;
| ^
f7.cpp:20:8: error: no match for ‘operator<<’ (operand types are ‘std::ostream’ {aka ‘std::basic_ostream<char>’} and ‘<unresolved overloaded function type>’)
20 | cout << count;
| ~~~~~^~~~~~~~
In file included from /usr/include/c++/9/istream:39,
from /usr/include/c++/9/sstream:38,
from /usr/include/c++/9/complex:45,
from /usr/include/c++/9/ccomplex:39,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:54,
from f7.cpp:1:
/usr/include/c