Problem harmony
User reporter
Submission Time 2023-01-10 18:21:57
Score 0
Max Time N/A
Max Memory N/A

Compile Error

harmony.cpp: In function ‘int main()’:
harmony.cpp:26:20: error: ‘assert’ was not declared in this scope
26 | cin >> N >> M; assert(M==1);
| ^~~~~~
harmony.cpp:5:1: note: ‘assert’ is defined in header ‘<cassert>’; did you forget to ‘#include <cassert>’?
4 | #include <algorithm>
+++ |+#include <cassert>
5 | using namespace std;