0_0_38495923_17377.cpp: In function 'int main()':
0_0_38495923_17377.cpp:31:20: error: invalid types 'int[int]' for array subscript
a[0] = b[0] = t[0] = 0;
^
0_0_38495923_17377.cpp:34:20: error: invalid conversion from 'int' to 'll* {aka long long unsigned int*}' [-fpermissive]
dfs(n, m, a, b, t);
^
0_0_38495923_17377.cpp:7:6: note: initializing argument 5 of 'void dfs(int, ll, ll*, ll*, ll*)'
void dfs(int n, ll m, ll a[], ll b[], ll t[]) {
^
0_0_38495923_17377.cpp:43:23: error: invalid types 'int[int]' for array subscript
printf("\n%llu", t[0]);
^
0_0_38495923_17377.cpp:44:27: error: invalid types 'int[int]' for array subscript
for (int i = 1; i <= t[0]; i++) {
^
0_0_38495923_17377.cpp:45:23: error: invalid types 'int[int]' for array subscript
printf(" %llu", t[i]);
^
|