Problem sort
User Mimikyu
Submission Time 2023-12-19 15:02:16
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sort.cpp: In function ‘int main()’:
sort.cpp:6:16: error: ‘optimize’ was not declared in this scope; did you mean ‘std::regex_constants::optimize’?
6 | _attribute__((optimize("-Ofast"))) int main() {
| ^~~~~~~~
| std::regex_constants::optimize
In file included from /usr/include/c++/9/regex:57,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:110,
from sort.cpp:2:
/usr/include/c++/9/bits/regex_constants.h:104:50: note: ‘std::regex_constants::optimize’ declared here
104 | _GLIBCXX17_INLINE constexpr syntax_option_type optimize =
| ^~~~~~~~
sort.cpp:6:2: error: ‘_attribute__’ was not declared in this scope; did you mean ‘__attribute__’?
6 | _attribute__((optimize("-Ofast"))) int main() {
| ^~~~~~~~~~~~
| __attribute__
sort.cpp:22:1: error: expected ‘}’ at end of input
22 | }