0_0_34102041_5669.c:18:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'int'
inline int ones(uint64_t s) {
^
0_0_34102041_5669.c: In function 'dfs':
0_0_34102041_5669.c:37:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for (int j = 0; _s; ++j, _s >>= 1) {
^
0_0_34102041_5669.c:37:3: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code
0_0_34102041_5669.c:46:12: error: redefinition of 'j'
for (int j = 0; _s; ++j, _s >>= 1) {
^
0_0_34102041_5669.c:37:12: note: previous definition of 'j' was here
for (int j = 0; _s; ++j, _s >>= 1) {
^
0_0_34102041_5669.c:46:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for (int j = 0; _s; ++j, _s >>= 1) {
^
0_0_34102041_5669.c: In function 'init':
0_0_34102041_5669.c:58:3: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for (int s = 0; s < S; ++s) {
^
0_0_34102041_5669.c: In function 'main':
0_0_34102041_5669.c:82:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for (int i = 0; i < n; ++i) {
^
0_0_34102041_5669.c:84:7: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for (int j = 0; j < i; ++j) {
^
0_0_34102041_5669.c:93:7: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for (int i = 0; i < n; ++i) {
^
0_0_34102041_5669.c:95:9: error: 'for' loop initial declarations are only allowed in C99 or C11 mode
for (int j = 0; j < n; ++j) {
^
|