The first line of input is a positive integer $T(T\leq 5)$ representing the number of data cases.
For each test case, the first line has three positive integers $n,m,q(1\leq n,q \leq 100000,n-1\leq m\leq 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\leq c_i\leq 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\leq val_i \leq 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\leq u,v\leq n,u\not=v,1\leq w\leq 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 \leq op \leq 1,1 \leq x \leq n,1 \leq y \leq 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.