Submission #596754

#TimeUsernameProblemLanguageResultExecution timeMemory
596754DeepessonPeru (RMI20_peru)C++17
Compilation error
0 ms0 KiB
#include <bits/stdc++.h> int solve(int n, int k, int* array){ assert(N!=2500000); }

Compilation message (stderr)

In file included from /usr/include/c++/10/cassert:44,
                 from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:33,
                 from peru.cpp:1:
peru.cpp: In function 'int solve(int, int, int*)':
peru.cpp:3:12: error: 'N' was not declared in this scope
    3 |     assert(N!=2500000);
      |            ^
peru.cpp:4:1: warning: control reaches end of non-void function [-Wreturn-type]
    4 | }
      | ^