Problem | card |
---|---|
User | MintTea |
Submission Time | 2024-01-12 14:51:36 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
card.cpp: In function ‘int32_t main()’:
card.cpp:18:21: error: conversion from ‘__gnu_cxx::__alloc_traits<std::allocator<char>, char>::value_type’ {aka ‘char’} to non-scalar type ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’} requested
18 | string op = inst[i];
| ^
card.cpp:20:18: error: missing template arguments before ‘.’ token
20 | auto n = deque.at(0);
| ^
card.cpp:21:9: error: expected unqualified-id before ‘.’ token
21 | deque.pop_front();
| ^
card.cpp:22:9: error: expected unqualified-id before ‘.’ token
22 | deque.push_back(n);
| ^
card.cpp:25:18: error: missing template arguments before ‘.’ token
25 | auto n = deque.at(1);
| ^
card.cpp:26:9: error: expected unqualified-id before ‘.’ token
26 | deque.erase(1);
| ^
card.cpp:27:9: error: expected unqu