| Problem | bracketex |
|---|---|
| User | sharelletqx |
| Submission Time | 2026-04-18 10:13:01 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
bracketex.cpp: In function ‘int main()’:
bracketex.cpp:11:21: error: type/value mismatch at argument 1 in template parameter list for ‘template<class _T1, class _T2> struct std::pair’
11 | s.push(pair<'(',')'>);
| ^
bracketex.cpp:11:21: note: expected a type, got ‘'('’
bracketex.cpp:11:21: error: type/value mismatch at argument 2 in template parameter list for ‘template<class _T1, class _T2> struct std::pair’
bracketex.cpp:11:21: note: expected a type, got ‘')'’
bracketex.cpp:12:21: error: type/value mismatch at argument 1 in template parameter list for ‘template<class _T1, class _T2> struct std::pair’
12 | s.push(pair<'[',']'>);
| ^
bracketex.cpp:12:21: note: expected a type, got ‘'['’
bracketex.cpp:12:21: error: type/value mismatch at argument 2 in template parameter list for ‘template<class _T1, class _T2> struct std::pair’
bracketex.cpp:12:21: no