0_0_27352843_26121.cpp: In function 'int main()':
0_0_27352843_26121.cpp:23:10: error: 't' was not declared in this scope
cin>>t;
^
0_0_27352843_26121.cpp:26:14: error: 'v' was not declared in this scope
cin>>v>>n;
^
0_0_27352843_26121.cpp:27:13: error: 'j' was not declared in this scope
for(j=1;j<=n;j++)
^
0_0_27352843_26121.cpp:30:9: error: 'j' was not declared in this scope
j=1;
^
0_0_27352843_26121.cpp:31:17: error: 'b' was not declared in this scope
while(v>b[j] && j<=n)
^
0_0_27352843_26121.cpp:33:16: error: 'a' was not declared in this scope
v-=a[j];
^
|