Problem skyscraper_apio15
User wongyikai
Submission Time 2024-01-24 19:21:48
Score 0
Max Time N/A
Max Memory N/A

Compile Error

skyscraper_apio15.cpp: In function ‘int main()’:
skyscraper_apio15.cpp:62:12: error: no match for ‘operator[]’ (operand types are ‘ll [n]’ {aka ‘int [n]’} and ‘std::pair<int, int>’)
62 | cout << dp[ori[1]];
| ^