ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1347. Blog

ASK C++ hint [1] // Problem 1347. Blog 30 Oct 2010 18:48
You can use STL and iostream without time limit:

typedef vector<string> VS;
typedef set<string> SS;
typedef map<string,SS> M;

getline(cin,s);
Adhambek Re: C++ hint // Problem 1347. Blog 16 Jun 2014 09:03
I think , you should read char("each symbol").
you should use scanf("%c",&c) or getchar();