| Problem | card |
|---|---|
| User | nzx |
| Submission Time | 2025-10-15 10:53:07 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
card.cpp: In function ‘int main()’:
card.cpp:16:28: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
16 | for (long long i=0; x[i]!="."; i++) {
| ^~~
card.cpp:17:13: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
17 | if (x[i]=="A") {
| ^~~
card.cpp:18:29: error: no matching function for call to ‘std::vector<int>::push_back(std::vector<int>::iterator)’
18 | arr.push_back(arr.begin());
| ^
In file included from /usr/include/c++/9/vector:67,
from /usr/include/c++/9/functional:62,
from /usr/include/c++/9/pstl/glue_algorithm_defs.h:13,
from /usr/include/c++/9/algorithm:71,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:65,
from card.cpp:1:
/usr/include/c++/9/bits/stl_vector.h:1184:7: