| Problem | funnyballs |
|---|---|
| User | dooweidde |
| Submission Time | 2025-12-01 13:45:41 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
funnyballs.cpp:8:52: error: ‘long long int index’ redeclared as different kind of entity
8 | int N, K, hold, smallest = LLONG_MAX, biggest = 0, index = 0;
| ^~~~~
In file included from /usr/include/string.h:432,
from /usr/include/c++/9/cstring:42,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:48,
from funnyballs.cpp:1:
/usr/include/strings.h:61:1: note: previous declaration ‘const char* index(const char*, int)’
61 | index (const char *__s, int __c) __THROW
| ^~~~~
funnyballs.cpp: In function ‘int main()’:
funnyballs.cpp:20:12: error: overloaded function with no contextual type information
20 | index = i;
| ^
funnyballs.cpp:26:7: error: no match for ‘operator<<’ (operand types are ‘std::ostream’ {aka ‘std::basic_ostream<char>’} and ‘<unresolved overloaded function type>’)