0_0_37310710_6728.cpp:5:7: error: expected nested-name-specifier before 'namespacestd'
using namespacestd;
^
0_0_37310710_6728.cpp:11:7: error: 'intT' does not name a type
intT,n,m,k,i,j,c,a[101],x,y,b[101],opt[101][10010],TotalV;
^
0_0_37310710_6728.cpp: In function 'int main()':
0_0_37310710_6728.cpp:19:7: error: 'cin' was not declared in this scope
cin >> T;
^
0_0_37310710_6728.cpp:19:7: note: suggested alternative:
In file included from 0_0_37310710_6728.cpp:1:0:
GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:60:18: note: 'std::cin'
extern istream cin; /// Linked to standard input
^
0_0_37310710_6728.cpp:19:14: error: 'T' was not declared in this scope
cin >> T;
^
0_0_37310710_6728.cpp:27:12: error: 'TotalV' was not declared in this scope
TotalV=0;
^
0_0_37310710_6728.cpp:29:19: error: 'n' was not declared in this scope
cin >> n >> m >> k;
^
0_0_37310710_6728.cpp:29:24: error: 'm' was not declared in this scope
cin >> n >> m >> k;
^
0_0_37310710_6728.cpp:29:29: error: 'k' was not declared in this scope
cin >> n >> m >> k;
^
0_0_37310710_6728.cpp:31:12: error: 'i' was not declared in this scope
i=0;
^
0_0_37310710_6728.cpp:37:25: error: 'x' was not declared in this scope
cin >> x >> y;
^
0_0_37310710_6728.cpp:37:30: error: 'y' was not declared in this scope
cin >> x >> y;
^
0_0_37310710_6728.cpp:43:23: error: 'a' was not declared in this scope
a[i]=x+1;
^
0_0_37310710_6728.cpp:45:23: error: 'b' was not declared in this scope
b[i]=y;
^
0_0_37310710_6728.cpp:61:23: error: 'j' was not declared in this scope
for (j=0;j<=TotalV;j++)
^
0_0_37310710_6728.cpp:63:23: error: 'opt' was not declared in this scope
opt[i][j]=2000000000;
^
0_0_37310710_6728.cpp:65:12: error: 'opt' was not declared in this scope
opt[0][b[0]]=a[0];
^
0_0_37310710_6728.cpp:65:19: error: 'b' was not declared in this scope
opt[0][b[0]]=a[0];
^
0_0_37310710_6728.cpp:65:25: error: 'a' was not declared in this scope
opt[0][b[0]]=a[0];
^
0_0_37310710_6728.cpp:75:23: error: 'j' was not declared in this scope
for (j=b[i];j<=TotalV;j++)
^
0_0_37310710_6728.cpp:81:23: error: 'c' was not declared in this scope
c=opt[i-1][j-b[i]];
^
0_0_37310710_6728.cpp:135:23: error: 'cout' was not declared in this scope
cout << i <<endl;
^
0_0_37310710_6728.cpp:135:23: note: suggested alternative:
In file included from 0_0_37310710_6728.cpp:1:0:
GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:61:18: note: 'std::cout'
extern ostream cout; /// Linked to standard output
^
0_0_37310710_6728.cpp:135:35: error: 'endl' was not declared in this scope
cout << i <<endl;
^
0_0_37310710_6728.cpp:135:35: note: suggested alternative:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39:0,
from 0_0_37310710_6728.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:564:5: note: 'std::endl'
endl(basic_ostream<_CharT, _Traits>& __os)
^
|