Search found 1 match

by Nisan
Mon Jan 02, 2012 8:35 am
Forum: Volume 4 (400-499)
Topic: 458 - The Decoder
Replies: 71
Views: 28498

458 Decoder , Why time limit exceede

I can't reduce run time , But i got TLE, please someone help me..
my code is :
# include <iostream>
# include <string>
# include <vector>

using namespace std;

int main()
{
vector <char> symbol;
char ch;
int i = 0,j;
while(!cin.eof())
{
cin.peek();
while(((ch = cin.get())!='\n')&&(ch != 17 ...

Go to advanced search