| Problem | fatty |
|---|---|
| User | Dubidubidaphdaph |
| Submission Time | 2026-06-24 11:10:58 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
cc1plus: error: ‘::main’ must return ‘int’
fatty.cpp: In function ‘int main()’:
fatty.cpp:9:8: error: expected ‘;’ before ‘type’
9 | unique type = 0
| ^~~~~
| ;
fatty.cpp:10:10: error: statement cannot resolve address of overloaded function
10 | for (i=0; i<n; i++){
| ^
fatty.cpp:10:12: error: ‘i’ was not declared in this scope
10 | for (i=0; i<n; i++){
| ^
fatty.cpp:18:11: error: expected ‘;’ before ‘type’
18 | unique type = c[t[i]];
| ^~~~~
| ;
fatty.cpp:18:26: error: statement cannot resolve address of overloaded function
18 | unique type = c[t[i]];
| ^
fatty.cpp:21:7: error: no match for ‘operator<<’ (operand types are ‘std::ostream’ {aka ‘std::basic_ostream<char>’} and ‘<unresolved overloaded function type>’)
21 | cout << unique type;