hottercolder.cpp:29:2: error: stray '#' in program
29 | }#include <bits/stdc++.h>
| ^
hottercolder.cpp: In function 'int HC(int)':
hottercolder.cpp:14:11: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
14 | if(w == -1){
| ~~^~~~~
hottercolder.cpp:8:13: warning: unused variable 'i' [-Wunused-variable]
8 | int q = 0, i;
| ^
hottercolder.cpp:29:1: warning: no return statement in function returning non-void [-Wreturn-type]
29 | }#include <bits/stdc++.h>
| ^
hottercolder.cpp: At global scope:
hottercolder.cpp:29:3: error: 'include' does not name a type
29 | }#include <bits/stdc++.h>
| ^~~~~~~
hottercolder.cpp:35:5: error: redefinition of 'int HC(int)'
35 | int HC(int n){
| ^~
hottercolder.cpp:7:5: note: 'int HC(int)' previously defined here
7 | int HC(int n){
| ^~
hottercolder.cpp: In function 'int HC(int)':
hottercolder.cpp:42:11: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
42 | if(w == -1){
| ~~^~~~~
hottercolder.cpp:36:13: warning: unused variable 'i' [-Wunused-variable]
36 | int q = 0, i;
| ^
hottercolder.cpp:57:1: warning: no return statement in function returning non-void [-Wreturn-type]
57 | }
| ^