Search found 63 matches

by mohsincsedu
Mon Oct 03, 2005 7:40 pm
Forum: Volume 102 (10200-10299)
Topic: 10222 - Decode the Mad man
Replies: 30
Views: 9552

10222

May be it's a easy problem!!! But i got WA :oops: What's the problem :cry: #include<stdio.h> #include<ctype.h> int main() { char kb[400]; kb['e'] = 'q';kb['r'] = 'w';kb['t'] = 'e';kb['y'] = 'r';kb['u'] = 't';kb['i'] = 'y';kb['o'] = 'u';kb['p'] = 'i';kb['['] = 'o';kb[']'] = 'p';kb['\\'] = '['; kb['d'...
by mohsincsedu
Thu Sep 22, 2005 7:57 pm
Forum: Volume 104 (10400-10499)
Topic: 10473 - Simple Base Conversion
Replies: 46
Views: 13789

10473_RTE plz help me

I got run time error:) but why..? Here is my coding: #include<stdio.h> #include<string.h> #include<math.h> #include<stdlib.h> char table[] = "0123456789ABCDEF"; long hex_to_dec(char num[]) { long number = 0; long i,j; long len; len = strlen(num); for(i = len-1; i>=0; i--) { for(j = 0;j<16;j++) { if(...
by mohsincsedu
Thu Sep 22, 2005 7:35 pm
Forum: Volume 3 (300-399)
Topic: 355 - The Bases Are Loaded
Replies: 74
Views: 23326

WA_355_The_base_are_loaded

Hiiiiiii May be it's a easy problem!! but i got WA. Please give me the critical input :cry: here is my coding: : #include<stdio.h> #include<string.h> #include<math.h> long long conv_ten_base(char *num,long b) { long i,l,j,n; long long N; N = 0; l = strlen(num); for(i = l-1,j=0;i>=0;i--,j++) { n = (n...

Go to advanced search