0_0_33772894_20797.cpp:1:1: error: 'include' does not name a type
include<bits/stdc++.h>
^
0_0_33772894_20797.cpp: In function 'int main()':
0_0_33772894_20797.cpp:6:2: error: 'cin' was not declared in this scope
cin>>t;
^
0_0_33772894_20797.cpp:17:46: error: 'max' was not declared in this scope
a[i][j]+=max(0,max(a[i+1][j],a[i+1][j+1]));
^
0_0_33772894_20797.cpp:17:47: error: 'max' was not declared in this scope
a[i][j]+=max(0,max(a[i+1][j],a[i+1][j+1]));
^
0_0_33772894_20797.cpp:17:47: error: redeclaration of '<typeprefixerror>max'
0_0_33772894_20797.cpp:17:46: note: previous declaration '<typeprefixerror>max'
a[i][j]+=max(0,max(a[i+1][j],a[i+1][j+1]));
^
0_0_33772894_20797.cpp:20:2: error: 'cout' was not declared in this scope
cout<<a[0][0]<<endl;
^
0_0_33772894_20797.cpp:20:17: error: 'endl' was not declared in this scope
cout<<a[0][0]<<endl;
^
|