0_0_31387680_14008.cpp: In function 'void work()': 0_0_31387680_14008.cpp:68:17: error: invalid types 'int[int]' for array subscript A[u] = max(a[u],v); ^