tracks.cpp: In function 'int main()':
tracks.cpp:10:12: error: redeclaration of 'char c'
10 | char c; cin >> c;
| ^
tracks.cpp:9:13: note: 'int c' previously declared here
9 | for(int c = 0; c < W; c++){
| ^
tracks.cpp:4:10: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
4 | freopen("tracks.in", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
tracks.cpp:5:10: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
5 | freopen("tracks.out", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~