Problem trials
User Dolphy
Submission Time 2026-05-28 12:13:24
Score 0
Max Time N/A
Max Memory N/A

Compile Error

trials.cpp:14: error: unterminated argument list invoking macro "assert"
14 | }
|
trials.cpp: In function ‘int main()’:
trials.cpp:9:3: error: ‘assert’ was not declared in this scope
9 | assert(a<=7288;
| ^~~~~~
trials.cpp:2:1: note: ‘assert’ is defined in header ‘<cassert>’; did you forget to ‘#include <cassert>’?
1 | #include <bits/stdc++.h>
+++ |+#include <cassert>
2 | using namespace std;
trials.cpp:9:3: error: expected ‘}’ at end of input
9 | assert(a<=7288;
| ^~~~~~
trials.cpp:6:26: note: to match this ‘{’
6 | for (int i=0; i<n; i++) {
| ^
trials.cpp:9:3: error: expected ‘}’ at end of input
9 | assert(a<=7288;
| ^~~~~~
trials.cpp:3:12: note: to match this ‘{’
3 | int main() {
| ^