| Problem | card |
|---|---|
| User | Teeskit |
| Submission Time | 2025-11-12 10:17:43 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
card.cpp: In function ‘int main()’:
card.cpp:15:12: error: expected ‘(’ before ‘c’
15 | if c == "A" {
| ^
| (
card.cpp:19:9: error: ‘else’ without a previous ‘if’
19 | else if c == "B" {
| ^~~~
card.cpp:19:17: error: expected ‘(’ before ‘c’
19 | else if c == "B" {
| ^
| (
card.cpp:23:9: error: ‘else’ without a previous ‘if’
23 | else if c == "." {
| ^~~~
card.cpp:23:17: error: expected ‘(’ before ‘c’
23 | else if c == "." {
| ^
| (
card.cpp:27:10: error: no match for ‘operator>>’ (operand types are ‘std::ostream’ {aka ‘std::basic_ostream<char>’} and ‘__gnu_cxx::__alloc_traits<std::allocator<char>, char>::value_type’ {aka ‘char’})
27 | cout >> sequence[k-1] >> sequence[k] >> seq