Problem | typo |
---|---|
User | AwkUngenially |
Submission Time | 2025-04-17 11:44:02 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
typo.cpp: In function ‘int main()’:
typo.cpp:9:2: error: expected ‘,’ or ‘;’ before ‘int’
9 | int p1 = -1;
| ^~~
typo.cpp:21:6: error: ‘p1’ was not declared in this scope; did you mean ‘p2’?
21 | p1 = thingy1.at(i);
| ^~
| p2
typo.cpp:33:8: error: ‘p1’ was not declared in this scope; did you mean ‘p2’?
33 | if (p1 == q2 && p2 == q1) {
| ^~
| p2