Problem mathmadness
User Random52
Submission Time 2024-12-09 13:50:38
Score 0
Max Time N/A
Max Memory N/A

Compile Error

mathmadness.cpp: In function ‘int main()’:
mathmadness.cpp:17:9: error: #pragma GCC optimize is not allowed inside functions
17 | #pragma GCC optimize("Ofast", "unroll-loops")
| ^~~
mathmadness.cpp:18:9: error: #pragma GCC option is not allowed inside functions
18 | #pragma GCC target("avx2", "bmi", "bmi2", "popcnt", "lzcnt")
| ^~~
mathmadness.cpp:22:94: error: a function-definition is not allowed here before ‘{’ token
22 | bool compare(const std::pair<intmax_t, intmax_t>& a, const std::pair<intmax_t, intmax_t>& b) {
| ^
mathmadness.cpp:26:12: error: a function-definition is not allowed here before ‘{’ token
26 | int main() {
| ^