| 41 | |
| 42 | |
| 43 | int main() |
| 44 | { |
| 45 | int t; |
| 46 | cin>>t; |
| 47 | |
| 48 | while(t--){ |
| 49 | int n ; |
| 50 | cin>>n; |
| 51 | |
| 52 | int a[n]; |
| 53 | |
| 54 | for(int i = 0;i<n;i++) |
| 55 | cin >> a[i]; |
| 56 | |
| 57 | Solution obj; |
| 58 | cout<<obj.trappingWater(a, n)<<endl; |
| 59 | |
| 60 | } |
| 61 | |
| 62 | return 0; |
| 63 | |
| 64 | } |
nothing calls this directly
no test coverage detected