Problem | smallprimes |
---|---|
User | Sans12345 |
Submission Time | 2024-12-06 15:24:05 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
smallprimes.cpp:33: error: unterminated argument list invoking macro "assert"
33 | }
|
smallprimes.cpp: In function ‘int main()’:
smallprimes.cpp:29:3: error: ‘assert’ was not declared in this scope
29 | assert(tmp==(--upper_bound(arr.begin(),arr.end(),r));
| ^~~~~~
smallprimes.cpp:3:1: note: ‘assert’ is defined in header ‘<cassert>’; did you forget to ‘#include <cassert>’?
2 | #include <bits/stdc++.h>
+++ |+#include <cassert>
3 | #include <ios>
smallprimes.cpp:29:3: error: expected ‘}’ at end of input
29 | assert(tmp==(--upper_bound(arr.begin(),arr.end(),r));
| ^~~~~~
smallprimes.cpp:25:15: note: to match this ‘{’
25 | while(Q--){
| ^
smallprimes.cpp:29:3: error: expected ‘}’ at end of input
29 | assert(tmp==(--upper_bound(arr.begin(),arr.end(),r));
| ^~~~~~
smallprimes.cpp:19:11: note: to match this ‘{’
1