mambetr's blog

By mambetr, 12 years ago, In Russian

В условии написано, что нужно выводить различные строки.
http://codeforces.net/gym/100126 Решение:

#include<map>
#include<cmath>
#include<ctime>
#include<vector>
#include<cstdio>
#include<string>
#include<cstring>
#include<cstdlib>
#include<iostream>
#include<string.h>
#include<windows.h>
#include<algorithm>
#define y1 abcde
#define sqr(x) ((x)*(x)) 
#define INF 2147483647 
using namespace std;

  string s;
  int n,i;
 
int main()
{
   srand(GetTickCount());
    freopen("bad-hashing.in","r",stdin);
    freopen("bad-hashing.out","w",stdout);
     
    cin>>n;
    cout<<"aa"<<endl<<"aa";

     return 0;
}
  • Vote: I like it
  • +14
  • Vote: I do not like it