foo.cc: In function 'int main()':
foo.cc:4:2: error: 'cin' was not declared in this scope
cin >> T >> M;
^~~
foo.cc:4:2: note: suggested alternative: 'main'
cin >> T >> M;
^~~
main
foo.cc:30:2: error: 'cout' was not declared in this scope
cout << dp[M][T] << endl;;
^~~~
foo.cc:30:22: error: 'endl' was not declared in this scope
cout << dp[M][T] << endl;;
^~~~
foo.cc:30:22: note: suggested alternative: 'enum'
cout << dp[M][T] << endl;;
^~~~
enum
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。