Problem | mountainbridges |
---|---|
User | Tyx2019 |
Submission Time | 2023-11-19 00:34:50 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
mountainbridges.cpp: In function ‘int main()’:
mountainbridges.cpp:47:6: error: ‘A’ was not declared in this scope
47 | if(A[i]!=A[i-1]) cnt++;
| ^
mountainbridges.cpp:48:9: error: ‘A’ was not declared in this scope
48 | table[A[i]]=cnt;
| ^