relativnost.cpp:5:1: error: stray '#' in program
5 | #define ll long long
| ^
relativnost.cpp:47:3: note: in expansion of macro 'speed'
47 | speed;
| ^~~~~
relativnost.cpp: In function 'int main()':
relativnost.cpp:5:2: error: 'define' was not declared in this scope
5 | #define ll long long
| ^~~~~~
relativnost.cpp:47:3: note: in expansion of macro 'speed'
47 | speed;
| ^~~~~
relativnost.cpp:78:3: error: 'ret' was not declared in this scope
78 | ret
| ^~~
relativnost.cpp:78:3: error: expected '}' at end of input
relativnost.cpp:46:12: note: to match this '{'
46 | int main() {
| ^
relativnost.cpp: In function 'void ioi(std::string)':
relativnost.cpp:22:10: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
22 | freopen((name + ".in").c_str(), "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
relativnost.cpp:23:10: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
23 | freopen((name + ".out").c_str(), "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~