Pagini recente » Borderou de evaluare (job #151611) | Borderou de evaluare (job #3262721) | Borderou de evaluare (job #2100003) | Cod sursa (job #3286103) | Cod sursa (job #3286121)
#include <fstream>
#include <vector>
using namespace std;
ifstream fin("cmlsc.in");
ofstream fout("cmlsc.out");
const int nmax = 1024;
int a[nmax + 5], b[nmax + 5], dp[nmax + 5][nmax + 4];
int main()
{
int n, m;
fin >> n >> m;
int i, j;
for ( i = 1; i <= n; ++i )
fin >> a[i];
for ( j = 1; j <= m; ++j )
fin >> b[j];
return 0;
}