Problem bracketex
User Kannan
Submission Time 2024-02-23 17:57:32
Score 0
Max Time N/A
Max Memory N/A

Compile Error

bracketex.cpp: In function ‘bool contains(auto:22, auto:23)’:
bracketex.cpp:12:12: error: a function-definition is not allowed here before ‘{’ token
12 | int main() {
| ^
bracketex.cpp:39:17: error: expected ‘}’ at end of input
39 | cout << "Valid";
| ^
bracketex.cpp:4:31: note: to match this ‘{’
4 | bool contains(auto b, auto a) {
| ^