| Problem | romantic |
|---|---|
| User | Daembt |
| Submission Time | 2026-10-20 09:02:44 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
romantic.cpp: In function ‘int main()’:
romantic.cpp:13:12: error: found ‘:’ in nested-name-specifier, expected ‘::’
13 | for (i : store){
| ^
| ::
romantic.cpp:13:10: error: ‘i’ has not been declared
13 | for (i : store){
| ^
romantic.cpp:17:5: error: expected primary-expression before ‘if’
17 | if (tracker&1) cout<<"YES";
| ^~
romantic.cpp:16:3: error: expected ‘;’ before ‘if’
16 | }
| ^
| ;
17 | if (tracker&1) cout<<"YES";
| ~~
romantic.cpp:17:5: error: expected primary-expression before ‘if’
17 | if (tracker&1) cout<<"YES";
| ^~
romantic.cpp:16:3: error: expected ‘)’ before ‘if’
16 | }
| ^
| )
17 | if (tracker&1) cout<<"YES";
| ~~
romantic.cpp:13:9: note: to match this ‘(’
13 | for (i : store){