Problem | weddingcoins |
---|---|
User | Joashhh |
Submission Time | 2024-12-11 09:40:00 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
weddingcoins.cpp: In function ‘int main()’:
weddingcoins.cpp:7:2: error: ‘unsgined’ was not declared in this scope; did you mean ‘unsigned’?
7 | unsgined long long count = 0;
| ^~~~~~~~
| unsigned
weddingcoins.cpp:9:14: error: overloaded function with no contextual type information
9 | count += a/i;
| ^
weddingcoins.cpp:12:7: error: no match for ‘operator<<’ (operand types are ‘std::ostream’ {aka ‘std::basic_ostream<char>’} and ‘<unresolved overloaded function type>’)
12 | 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 weddingcoins.cpp:1:
/usr/include/c++/9/ostream:108