Problem platonic13
User nminhnguyenle
Submission Time 2025-12-08 11:43:32
Score 0
Max Time N/A
Max Memory N/A

Compile Error

platonic13.cpp:33:20: error: macro "assert" passed 2 arguments, but takes just 1
33 | assert(in,size());
| ^
In file included from /usr/include/c++/9/cassert:44,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:33,
from platonic13.cpp:2:
/usr/include/assert.h:92: note: macro "assert" defined here
92 | # define assert(expr) \
|
platonic13.cpp: In function ‘int main()’:
platonic13.cpp:33:4: error: ‘assert’ was not declared in this scope
33 | assert(in,size());
| ^~~~~~
platonic13.cpp:3:1: note: ‘assert’ is defined in header ‘<cassert>’; did you forget to ‘#include <cassert>’?
2 | #include<bits/stdc++.h>
+++ |+#include <cassert>
3 | using namespace std;