Problem funnysequence
User bribritt
Submission Time 2024-11-19 15:52:03
Score 0
Max Time N/A
Max Memory N/A

Compile Error

funnysequence.cpp: In function ‘long long int query(long long int, long long int)’:
funnysequence.cpp:8:2: error: ‘assert’ was not declared in this scope
8 | assert(r<=1e6);
| ^~~~~~
funnysequence.cpp:2:1: note: ‘assert’ is defined in header ‘<cassert>’; did you forget to ‘#include <cassert>’?
1 | #include "funnysequence.h"
+++ |+#include <cassert>
2 |