0_0_33535927_17922.cpp: In function 'int main()':
0_0_33535927_17922.cpp:5:5: error: expected ',' or ';' before 'char'
char ans[7][512];
^
0_0_33535927_17922.cpp:15:21: error: 'ans' was not declared in this scope
ans[k][i * 5 + j] = (a[j] & 1 << k) ? '#' : ' ';
^
0_0_33535927_17922.cpp:21:56: error: 'ans' was not declared in this scope
(k % 5 == 0 && k != 0) ? printf(" %c", ans[j][k]) : printf("%c", ans[j][k]);
^
|