money.cpp:19:1: error: expected initializer before 'void'
19 | void auto_solve()
| ^~~~
money.cpp: In function 'int main()':
money.cpp:50:33: error: expected ';' before 'ios_base'
50 | freopen("money.out","w",stdout)
| ^
| ;
51 |
52 | ios_base::sync_with_stdio();
| ~~~~~~~~
money.cpp:56:5: error: 'auto_solve' was not declared in this scope
56 | auto_solve();
| ^~~~~~~~~~
money.cpp:49:9: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
49 | freopen("money.in","r",stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
money.cpp:50:9: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
50 | freopen("money.out","w",stdout)
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~