ur invert() function is creating trouble in case an input number ends in 0.
when string2 has leading zeroes, strtol returns 0.
Search found 13 matches
- Wed Oct 30, 2002 8:55 am
- Forum: Volume 7 (700-799)
- Topic: 713 - Adding Reversed Numbers
- Replies: 142
- Views: 60663
- Tue Oct 22, 2002 6:36 am
- Forum: Volume 1 (100-199)
- Topic: 159 - Word Crosses
- Replies: 32
- Views: 6722
- Wed Aug 07, 2002 6:29 am
- Forum: Volume 3 (300-399)
- Topic: 371 - Ackermann Functions
- Replies: 196
- Views: 51118
- Fri Aug 02, 2002 8:34 am
- Forum: Volume 2 (200-299)
- Topic: 264 - Count on Cantor
- Replies: 47
- Views: 22411
- Thu Aug 01, 2002 12:05 pm
- Forum: Volume 1 (100-199)
- Topic: 175 - Keywords
- Replies: 13
- Views: 5564
- Wed Jul 31, 2002 7:20 am
- Forum: Volume 1 (100-199)
- Topic: 144 - Student Grants
- Replies: 21
- Views: 6555
- Tue Jul 30, 2002 1:19 pm
- Forum: Volume 2 (200-299)
- Topic: 264 - Count on Cantor
- Replies: 47
- Views: 22411
- Tue Jul 30, 2002 11:25 am
- Forum: Volume 2 (200-299)
- Topic: 264 - Count on Cantor
- Replies: 47
- Views: 22411
264: isn't sample output wrong?
Hi,
Maybe I've misunderstood the problem!
But the sample output looks wrong to me.
Shouldn't the 14th term be 4/2 instead of 2/4 ???
-Monika
Maybe I've misunderstood the problem!
But the sample output looks wrong to me.
Shouldn't the 14th term be 4/2 instead of 2/4 ???
-Monika
- Tue Jul 30, 2002 7:59 am
- Forum: Volume 1 (100-199)
- Topic: 144 - Student Grants
- Replies: 21
- Views: 6555
144 - Student Grants
I keep getting WA for 144....
It would be very helpful, if somebody could provide me a sample set of input/output.
or if somebody could give me his ACCEPTED program for 144, so that I can compare my outputs.
Thanks.
It would be very helpful, if somebody could provide me a sample set of input/output.
or if somebody could give me his ACCEPTED program for 144, so that I can compare my outputs.
Thanks.
- Mon Jul 29, 2002 7:56 am
- Forum: Volume 1 (100-199)
- Topic: 100 - The 3n + 1 problem
- Replies: 1394
- Views: 317862
- Thu Jul 25, 2002 9:03 am
- Forum: Volume 1 (100-199)
- Topic: 183 - Bit Maps
- Replies: 15
- Views: 6056
183
Hi,
Thanks for the reply.
But I've tried this, and I get the original bitmap back.
I've even tried with 200 X 200 matrix, and I'm able to convert it from B to D and vice versa.
I'm listing my program below. (although it is quite long), but please let me know, if you could identify some problem ...
Thanks for the reply.
But I've tried this, and I get the original bitmap back.
I've even tried with 200 X 200 matrix, and I'm able to convert it from B to D and vice versa.
I'm listing my program below. (although it is quite long), but please let me know, if you could identify some problem ...
- Thu Jul 25, 2002 8:16 am
- Forum: Volume 1 (100-199)
- Topic: 183 - Bit Maps
- Replies: 15
- Views: 6056
183
Hi,
I'm getting WA for 183.
Could someone provide me some good sample input/output for this problem, or let me know, what all tricks could be involved here?
Thanks,
Monika
I'm getting WA for 183.
Could someone provide me some good sample input/output for this problem, or let me know, what all tricks could be involved here?
Thanks,
Monika
- Tue Jul 23, 2002 9:53 am
- Forum: Volume 1 (100-199)
- Topic: 175 - Keywords
- Replies: 13
- Views: 5564
175: SIGSEGV
Hi,
Could someone please help me identify why I'm getting RunTime Error:
Your program has died with signal 11 (SIGSEGV). Meaning:
Invalid memory reference
Before crash, it ran during 0.000 seconds.
My program is:
-------------
/* @JUDGE_ID: 21235WP 175 C "Recursion" */
/* @BEGIN_OF_SOURCE ...
Could someone please help me identify why I'm getting RunTime Error:
Your program has died with signal 11 (SIGSEGV). Meaning:
Invalid memory reference
Before crash, it ran during 0.000 seconds.
My program is:
-------------
/* @JUDGE_ID: 21235WP 175 C "Recursion" */
/* @BEGIN_OF_SOURCE ...