lang.cpp:6: warning: ignoring #pragma GCC optimization [-Wunknown-pragmas]
6 | #pragma GCC optimization ("O3")
|
lang.cpp:7: warning: ignoring #pragma GCC optimization [-Wunknown-pragmas]
7 | #pragma GCC optimization ("unroll-loops")
|
lang.cpp: In function 'void excerpt(int*)':
lang.cpp:49:9: error: 'language' was not declared in this scope
49 | int k=language(best.second);
| ^~~~~~~~
lang.cpp:39:7: warning: unused variable 'L' [-Wunused-variable]
39 | int L=0;
| ^
lang.cpp: In function 'void setIO(std::string)':
lang.cpp:29:9: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
29 | freopen((s+".in").c_str(),"r",stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lang.cpp:30:9: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
30 | freopen((s+".out").c_str(),"w",stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~