relativnost.cpp:5:1: error: stray '#' in program
5 | #define precision \
| ^
relativnost.cpp:50:3: note: in expansion of macro 'speed'
50 | speed;
| ^~~~~
relativnost.cpp: In function 'int main()':
relativnost.cpp:5:2: error: 'define' was not declared in this scope
5 | #define precision \
| ^~~~~~
relativnost.cpp:50:3: note: in expansion of macro 'speed'
50 | speed;
| ^~~~~
relativnost.cpp:51:3: error: 'precision' was not declared in this scope
51 | precision;
| ^~~~~~~~~
relativnost.cpp: In function 'void ioi(std::string)':
relativnost.cpp:25:10: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
25 | freopen((name + ".in").c_str(), "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
relativnost.cpp:26:10: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
26 | freopen((name + ".out").c_str(), "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~