Search found 11 matches

by nikhil
Fri Dec 12, 2003 3:09 pm
Forum: C
Topic: Bsearch---built in
Replies: 4
Views: 6078

Bsearch---built in

Can anyone pls tell me how to handle "struct" with the help of
built in "bsearch". :lol: i tried with normal tcwin(not vc) help
but failed to handle the search of "string"
pls tell me what can i do 4 searching strings
or even is there any other option which is more efficient :P
thx in advance.
by nikhil
Sun Dec 07, 2003 6:29 am
Forum: Volume 104 (10400-10499)
Topic: 10478 - The Falling Pillars
Replies: 23
Views: 10041

specify???

Can any one tell mee abot any resource or yet at least any primary topic
which will be helpful???
i read the statement and the discussion
unfortunately still in problem
regards
nikhil
by nikhil
Fri Oct 10, 2003 10:38 pm
Forum: Volume 104 (10400-10499)
Topic: 10469 - To Carry or not to Carry
Replies: 24
Views: 15758

hiiiiiiiii

just print...
(a^b)
get accccccccccccccc
thx.
by nikhil
Thu Oct 09, 2003 3:04 am
Forum: Volume 100 (10000-10099)
Topic: 10025 - The ? 1 ? 2 ? ... ? n = k problem
Replies: 42
Views: 18148

10025 WA unwanted...

I can't realize what's wrong........
pls help


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

int main ( void )
{
long double a , b , c ;

while ( 1==scanf ( "%Lf" , &a ) ){

(a<0)? a = -a : 0;

for ( b = ceil ( (-1+sqrtl (1+8*a))/2 ) , c=b/ 2.0*(b+1) ;
(long)( c - a ) % 2 ;
b++ , c += b ...
by nikhil
Thu Oct 09, 2003 2:10 am
Forum: Volume 100 (10000-10099)
Topic: 10083 - Division
Replies: 12
Views: 9105

10083

10083
what is the idea beeeeeeeee
i can think out none
can Y help me?????
by nikhil
Wed Oct 08, 2003 3:25 pm
Forum: Volume 100 (10000-10099)
Topic: 10006 - Carmichael Numbers
Replies: 66
Views: 29396

10006 help please

i got this ac
but before i had to generate the car numbers
is there any better procedure???????????????
there are 2 extra numbers at the end of the array before 0
help me please...

#include<stdio.h>

long a,ar[]={561, 1105, 1729, 2465, 2821, 6601, 8911, 10585, 15841, 29341, 41041, 46657, 52633 ...
by nikhil
Wed Oct 08, 2003 3:14 pm
Forum: Volume 100 (10000-10099)
Topic: 10033 - Interpreter
Replies: 88
Views: 39278

10033 Interpreter is not Interpreting

10033 Interpreter
i used following code got "WA"


#include <stdio.h>

int ram[1000];
int r[10];
int i,ip,a,b,c;

int main(){
while (1 == scanf("%d",&ram[i++])){}
for (i=1;;i++){
a = ram[ip]/100;
b = ram[ip]/10%10;
c = ram[ip]%10;
ip++;
if (a == 1) break;
if (a == 2) r = c;
else if (a == 3 ...
by nikhil
Wed Oct 08, 2003 2:18 pm
Forum: Volume 6 (600-699)
Topic: 630 - Anagrams (II)
Replies: 25
Views: 10702

630 WA

I am getting "WA"
for the following code
some body please help me???????????

#include<stdio.h>
#include<string.h>
#include<assert.h>

int i, a,b, len,l1,l2, intP[30], tr[30], h[30], hh, in, found ;
char voca[1000][23], test[30];

int main(void)
{
/* freopen("c:\\a\\630.txt","rb",stdin ...
by nikhil
Wed Oct 08, 2003 1:59 pm
Forum: Volume 104 (10400-10499)
Topic: 10478 - The Falling Pillars
Replies: 23
Views: 10041

help me

The Falling Pillars
10478
can any body help me to solve???????
thanks
by nikhil
Wed Oct 08, 2003 1:57 pm
Forum: Volume 100 (10000-10099)
Topic: 10011 - Where Can You Hide?
Replies: 58
Views: 19098

help me

10011
Where Can You Hide?
please somebody help me to solve.
thanks
by nikhil
Wed Oct 08, 2003 1:55 pm
Forum: Volume 104 (10400-10499)
Topic: 10427 - Naughty Sleepy Boys
Replies: 35
Views: 25136

please help

I
have tried my best to find out ways of
10427
Problem I
Naughty Sleepy Boys
anybody please help me to solve it.
thanks

Go to advanced search