The first line of input is a positive integer T(T ≤ 5) representing the number of data cases.
For each test case, the first line has three positive integers n,m,q(1 ≤ n,q ≤ 100000,n−1 ≤ m ≤ 200000),
representing the number of islands in A country, bridges and inquiries.
The next line inputs n positive integers, and the ith number c i (1 ≤ c i ≤ n) represents the property of the
treasure on the i-th island.
The next line inputs n positive integers, and the ith number val i (1 ≤ val i ≤ 100000) represents the value
of the treasure on the i-th island.
The next m line, each line of three positive integers u,v,w(1 ≤ u,v ≤ n,u 6= v,1 ≤ w ≤ 100000)
represents a bridge between two islands, u,v represent the two endpoints of the bridge, w represents the
combat power guarded on this bridge.
The next q line, each line of three integers op,x,y(0 ≤ op ≤ 1,1 ≤ x ≤ n,1 ≤ y ≤ 100000) represents an
operation:
If op = 0, representing an event, the value of the treasure on the x island increases by y.
If op = 1, it represents a query, asking how much value can be obtained by a warrior with combat strength
of y from the x island.