Problem inspections
User JustKitkat
Submission Time 2025-01-15 21:43:16
Score 0
Max Time N/A
Max Memory N/A

Compile Error

inspections.cpp:172: error: unterminated argument list invoking macro "assert"
inspections.cpp: In function ‘void solve(long long int)’:
inspections.cpp:139:45: error: ‘assert’ was not declared in this scope
139 | for(auto &x:queries){cout<<res[-x]<<' ';assert(res[-x]<(int)1e12;};
| ^~~~~~
inspections.cpp:5:1: note: ‘assert’ is defined in header ‘<cassert>’; did you forget to ‘#include <cassert>’?
4 | #include <bits/stdc++.h>
+++ |+#include <cassert>
5 | // #include <ext/pb_ds/assoc_container.hpp>
inspections.cpp:139:45: error: expected ‘}’ at end of input
139 | for(auto &x:queries){cout<<res[-x]<<' ';assert(res[-x]<(int)1e12;};
| ~ ^~~~~~
inspections.cpp:139:45: error: expected ‘}’ at end of input
inspections.cpp:64:19: note: to match this ‘{’
64 | void solve(int