Problem mathmadness
User Random52
Submission Time 2024-12-09 11:51:24
Score 0
Max Time N/A
Max Memory N/A

Compile Error

mathmadness.cpp:9:6: error: stray ‘#’ in program
9 | }#pragma GCC optimize("Ofast", "unroll-loops")
| ^
mathmadness.cpp: In function ‘bool compare(const std::pair<long int, long int>&, const std::pair<long int, long int>&)’:
mathmadness.cpp:9:7: error: ‘pragma’ was not declared in this scope; did you mean ‘_Pragma’?
9 | }#pragma GCC optimize("Ofast", "unroll-loops")
| ^~~~~~
| _Pragma
mathmadness.cpp:22:96: error: a function-definition is not allowed here before ‘{’ token
22 | bool compare_1(const std::pair<intmax_t, intmax_t>& a, const std::pair<intmax_t, intmax_t>& b) {
| ^
mathmadness.cpp:30:12: error: a function-definition is not allowed here before ‘{’ token
30 | int main() {
| ^