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

C++ hint
Posted by ASK 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);
Re: C++ hint
Posted by Adhambek 16 Jun 2014 09:03
I think , you should read char("each symbol").
you should use scanf("%c",&c) or getchar();