Search found 6 matches

by crystaltanvir
Wed Nov 03, 2010 1:49 pm
Forum: Volume 2 (200-299)
Topic: 272 - TEX Quotes
Replies: 136
Views: 35315

Re: 272 - TeX Quotes

same result
by crystaltanvir
Mon Nov 01, 2010 3:11 am
Forum: Volume 2 (200-299)
Topic: 272 - TEX Quotes
Replies: 136
Views: 35315

Re: 272 - TeX Quotes

while(1) is the problem?????
should i use while(gets(get))????
by crystaltanvir
Sun Oct 31, 2010 1:42 am
Forum: Volume 2 (200-299)
Topic: 272 - TEX Quotes
Replies: 136
Views: 35315

Re: 272 - TeX Quotes

I GOT TLE... What's the problem??? #include<stdio.h> #include<string.h> int main() { while(1) { char get[500 + 5]; gets(get); int j, c = 0, l; l = strlen(get); for(j = 0; j < l; j++) { if(get[j] == '\"') { c++; if(c % 2 != 0) { int k; k = l - 1; while(k >= j + 1) { get[k + 1] = get[k]; k--; } get[j ...
by crystaltanvir
Sun Oct 31, 2010 1:34 am
Forum: Volume 103 (10300-10399)
Topic: 10310 - Dog and Gopher
Replies: 47
Views: 17269

Re: 10310 - Dog and Gopher

I got TLE with my code.... Can someone help???? #include<cmath> #include<iostream> #include<cstdio> using namespace std; int main() { int N, i, c = 0; while(1) { if(c != 0) cout << endl; cin >> N; c++; int res = 0; float dogx, dogy, gopx, gopy, escapex, escapey; float holex[N], holey[N]; cin >> gopx...
by crystaltanvir
Sun Oct 31, 2010 1:29 am
Forum: Volume 3 (300-399)
Topic: 392 - Polynomial Showdown
Replies: 93
Views: 17932

Re: 392 - Polynomial Showdown (Presentation Error)

Thanx bro... It was a silly mistake... Its accepted now... Very vey thanx...
by crystaltanvir
Mon Oct 18, 2010 8:40 pm
Forum: Volume 3 (300-399)
Topic: 392 - Polynomial Showdown
Replies: 93
Views: 17932

392 - Polynomial Showdown (Presentation Error)

I'm getting presentation error for this problem... I can't find where's the problem... Somebody please help me... #include<cmath> #include<iostream> using namespace std; int main() { int p[9]; while(cin >> p[8] >> p[7] >> p[6] >> p[5] >> p[4] >> p[3] >> p[2] >> p[1] >> p[0]) { int c = 0; if(p[8] !=...

Go to advanced search