Search found 7 matches

by spicy_hair
Fri Jul 21, 2006 6:39 am
Forum: Volume 102 (10200-10299)
Topic: 10205 - Stack 'em Up
Replies: 60
Views: 23214

Darko thanx for replying! the gets () function does not work on your computer? well...i didnt know how that happened (cuz it worked perfectly on mine). but i do think it is the problem. i just have one more question: without gets(), how would i detect blank lines? the question states that there woul...
by spicy_hair
Thu Jul 20, 2006 10:48 pm
Forum: Pascal
Topic: STACKs
Replies: 1
Views: 4506

by spicy_hair
Thu Jul 20, 2006 9:46 pm
Forum: Volume 102 (10200-10299)
Topic: 10205 - Stack 'em Up
Replies: 60
Views: 23214

10205

SOMEONE HELP ME!!! i keep getting lte on this program and i cant take it anymore #include <stdio.h> int main(void){ int nc, n, k, s1, ran; int counter=0,i,j,a; /*counter*/ int shuffle [105][53]; int order [1][53]; char s[10], r; scanf ("%d", &nc); gets(s); for (i=0;i<nc;i++){ scanf ("%d", &n); for (...
by spicy_hair
Thu Jul 20, 2006 12:43 am
Forum: Volume 1 (100-199)
Topic: 100 - The 3n + 1 problem
Replies: 1394
Views: 186396

i c

thanx
by spicy_hair
Wed Jul 19, 2006 11:46 pm
Forum: Volume 1 (100-199)
Topic: 100 - The 3n + 1 problem
Replies: 1394
Views: 186396

spicy_hair wrote: diego andres de barros NEVER use long long int. they are evil. i changed all your "long long int" to "int" and the programworked out perfectly gl i disagree with u. the only problem is tle there, and my previous post will fix it but ur method doesnot overcome tle thanks well i tri...
by spicy_hair
Wed Jul 19, 2006 3:56 am
Forum: Volume 1 (100-199)
Topic: 100 - The 3n + 1 problem
Replies: 1394
Views: 186396

diego andres de barros

NEVER use long long int. they are evil. i changed all your "long long int" to "int" and the programworked out perfectly

ps: emotional blind is right, "after getting ACCEPTED dont forget to REMOVE your code from here"

gl 8)
by spicy_hair
Wed Jul 19, 2006 2:31 am
Forum: Volume 100 (10000-10099)
Topic: 10038 - Jolly Jumpers
Replies: 445
Views: 80835

to sohel:

your suggestion to habibiamin also helped me (ya...after 2 yearz :) ) thanx

Go to advanced search