the input ends with an end of file marker
in unix systems its ^d and in dos based systems its ^z
if your program terminates at this commands then your TLE is not due to problems in receivng input/output.
check if u exceed numerical limits that would make your program run n an infinite loop
eg ...
Search found 29 matches
- Sun Jan 12, 2003 6:29 am
- Forum: Volume 1 (100-199)
- Topic: 100 - The 3n + 1 problem
- Replies: 1394
- Views: 317753
- Sun Jan 12, 2003 6:21 am
- Forum: Volume 1 (100-199)
- Topic: 100 - The 3n + 1 problem
- Replies: 1394
- Views: 317753
YES!
my program gives the following output for ur input set:
my program gives the following output for ur input set:
Code: Select all
1 1 1
1 2 2
2 2 2
1 3 8
4 4 3
1 5 8
1 10 20
10 1 20
100 200 125
201 210 89
900 1000 174
- Sun Jan 12, 2003 6:11 am
- Forum: Volume 5 (500-599)
- Topic: 591 - Box of Bricks
- Replies: 80
- Views: 24854
simple
the problem statement asks you to output a blank line after each set of output
- Thu Jan 09, 2003 10:47 am
- Forum: Volume 1 (100-199)
- Topic: 102 - Ecological Bin Packing
- Replies: 485
- Views: 116158
ur program refused to compile in my gcc
you must delete all the unnecesary code and then if you send a clearer code with single line comments then i may be able enough to help you..
if u feel like sending me the .c file that compiled in you compiler heres my mail add:
ak_i6@yahoo.com
if u feel like sending me the .c file that compiled in you compiler heres my mail add:
ak_i6@yahoo.com
- Wed Jan 08, 2003 7:02 pm
- Forum: Volume 101 (10100-10199)
- Topic: 10192 - Vacation
- Replies: 58
- Views: 23882
i think the judge made a mistake
in the question the soln is obviously the the longest common substring
but if i compare
{
if(strlen(mother)!=strlen(father))
while(1);
gives me a timelimit exceeded
without it my code is running in 0:00:002 time but produces WA
heres is m code
can u help me
#include <stdio.h>
#include <string.h ...
but if i compare
{
if(strlen(mother)!=strlen(father))
while(1);
gives me a timelimit exceeded
without it my code is running in 0:00:002 time but produces WA
heres is m code
can u help me
#include <stdio.h>
#include <string.h ...
- Wed Jan 08, 2003 2:22 pm
- Forum: Volume 1 (100-199)
- Topic: 103 - Stacking Boxes
- Replies: 200
- Views: 50206
accepted in 0.00.008 sec
thanx i got an AC
actually the prob was i was assuming that equality of sides implied fitting
thanx
actually the prob was i was assuming that equality of sides implied fitting
thanx
- Tue Jan 07, 2003 8:33 am
- Forum: Volume 1 (100-199)
- Topic: 103 - Stacking Boxes
- Replies: 200
- Views: 50206
- Tue Jan 07, 2003 8:29 am
- Forum: Volume 5 (500-599)
- Topic: 583 - Prime Factors
- Replies: 171
- Views: 61091
- Tue Jan 07, 2003 7:36 am
- Forum: Volume 1 (100-199)
- Topic: 103 - Stacking Boxes
- Replies: 200
- Views: 50206
- Sun Jan 05, 2003 2:16 pm
- Forum: Other words
- Topic: to the administrators
- Replies: 0
- Views: 1033
to the administrators
can you add the fields overall rank
and rank of a problem in the online page that gives the users info
would be pretty useful and inspiring
and rank of a problem in the online page that gives the users info
would be pretty useful and inspiring
- Sun Jan 05, 2003 2:10 pm
- Forum: Volume 1 (100-199)
- Topic: 103 - Stacking Boxes
- Replies: 200
- Views: 50206
103 WA!!
in problem 103
i use the following algorithm
first i sort the dimensions of all the boxes
then i sort the boxes into lexicographic order depending on their dimensions
finally i use DP method
(similar to that used to find the longest monotonic subsequence)
and write the output
can u help me why i ...
i use the following algorithm
first i sort the dimensions of all the boxes
then i sort the boxes into lexicographic order depending on their dimensions
finally i use DP method
(similar to that used to find the longest monotonic subsequence)
and write the output
can u help me why i ...
- Sun Jan 05, 2003 1:40 pm
- Forum: Volume 5 (500-599)
- Topic: 591 - Box of Bricks
- Replies: 80
- Views: 24854
- Sun Jan 05, 2003 1:27 pm
- Forum: Volume 1 (100-199)
- Topic: 102 - Ecological Bin Packing
- Replies: 485
- Views: 116158
- Sat Jan 04, 2003 2:31 pm
- Forum: Other words
- Topic: time trouble
- Replies: 1
- Views: 1408
time trouble
can anybody tell me how UTC is related to GMT ??
- Sat Jan 04, 2003 2:24 pm
- Forum: Other words
- Topic: why 0.00.002
- Replies: 1
- Views: 1208
why 0.00.002
even for the simpleproblems that have obvious solutions andwhen my code is tight i get AC only in time 0.00.002
if i pursue my efforts by submitting again and again i end up with a 0 time .does any body else have the same problem
if i pursue my efforts by submitting again and again i end up with a 0 time .does any body else have the same problem