Search found 4 matches

by Alam
Thu Jun 06, 2002 4:56 pm
Forum: Volume 102 (10200-10299)
Topic: 10298 - Power Strings
Replies: 31
Views: 19341

This problem is as like as periodic string(455). The only difference is that if he output of 455 is K then at 10298 the output is strlen(s)/K.
by Alam
Fri May 17, 2002 4:28 pm
Forum: Volume 102 (10200-10299)
Topic: 10268 - 498-bis
Replies: 51
Views: 24103

I think that's not the problem. Sum is less than 2^31.

I used double here to store intermediate vlaue of sum which may be more than 2^31.

To check, I also send my program by changing the last two lines in this way

printf("%.0f\n",sum);

But got Wrong Answer.

Can any one help me by giving some ...
by Alam
Wed May 15, 2002 5:43 pm
Forum: Volume 102 (10200-10299)
Topic: 10268 - 498-bis
Replies: 51
Views: 24103

P: 10268 What's the wrong in my code.

What's the wrong in my code? I am getting wrong answer for the code given below. Can any one help me to find out the problem?

/* @begin_of_source_code */

#include<stdio.h>
#include<math.h>
#include<string.h>
#include<stdlib.h>

void main()
{
char ch[1000000];
char *p;
long a[1000000],sumf,i,j,x,n ...
by Alam
Sat May 11, 2002 5:23 pm
Forum: Volume 4 (400-499)
Topic: 443 - Humble Numbers
Replies: 82
Views: 18077

443

what is the meaning of the following compiler error message

:( wh00854705_24.c:67: syntax error before `You'

[/c]

Go to advanced search