## Search found 9 matches

Sat Apr 05, 2003 8:01 pm
Forum: Volume 100 (10000-10099)
Topic: 10093 - An Easy Problem!
Replies: 52
Views: 15466
Is there anyone who can help me?
Sat Apr 05, 2003 7:50 pm
Forum: Volume 100 (10000-10099)
Topic: 10062 - Tell me the frequencies!
Replies: 235
Views: 39135
Sat Apr 05, 2003 6:57 am
Forum: Volume 100 (10000-10099)
Topic: 10062 - Tell me the frequencies!
Replies: 235
Views: 39135
I am very very disappointed with this problem... I am getting WA. But I have solved similar problem like #10008. I can't find any mistake here. Can anyone help me?? Thanks in advance! [c]#include<stdio.h> #include<string.h> #define N 10000 #define M 160 struct { char ch; int c; }chrs[M]; unsigned c...
Sat Apr 05, 2003 6:48 am
Forum: Volume 100 (10000-10099)
Topic: 10008 - What's Cryptanalysis?
Replies: 55
Views: 17987
Thankssssss Adil vaiya.... I just wrote another swap function for the characters and got AC. Thanks again! Have a nice day!
Fri Apr 04, 2003 5:24 pm
Forum: Volume 4 (400-499)
Topic: 492 - Pig-Latin
Replies: 213
Views: 27713
Now please tell me... why i am getting TLE.... [c]#include<stdio.h> #include<ctype.h> #include<string.h> #define N 1500000 char str[N],tmp; int i,j,k; int isvowel(char ch1) { char ch = tolower(ch1); if(ch!='a'&&ch!='e'&&ch!='i'&&ch!='o'&&ch!='u') return 0; else return 1; } void main(void) { while(g...
Thu Apr 03, 2003 8:41 am
Forum: Volume 103 (10300-10399)
Topic: 10324 - Zeros and Ones
Replies: 179
Views: 45369

### Thanks, turuthok!

turuthok, thanks. I have started thinking in your way... Thanks again!
Wed Apr 02, 2003 8:44 pm
Forum: Volume 103 (10300-10399)
Topic: 10338 - Mischievous Children
Replies: 56
Views: 20873
Why I always get WA???????? [c]#include<stdio.h> #define SIZE 20 struct letter{ char chr; int freq; }; struct letter in[SIZE]; char str1[20000]; unsigned long long i,j,flag,countStruct,n,k,sum,cur; unsigned long long fact(unsigned long long d) { unsigned long long s,b; s=1; for(b=1;b<=d;b++) s *= b...
Wed Apr 02, 2003 8:32 pm
Forum: Volume 103 (10300-10399)
Topic: 10324 - Zeros and Ones
Replies: 179
Views: 45369
So, how can I avoid TLE???? I haven't start Algorithm course... so can't I solve this without using Algo??? Thanks.
Wed Apr 02, 2003 8:13 pm
Forum: Volume 100 (10000-10099)
Topic: 10093 - An Easy Problem!
Replies: 52
Views: 15466