## Search found 26 matches

Wed Nov 03, 2010 4:32 pm
Forum: Volume 4 (400-499)
Topic: 495 - Fibonacci Freeze
Replies: 222
Views: 33069

### Re: 495 - Fibonacci Freeze

What Should I Do. I am getting R/E #include<iostream> #include<stdio.h> #include<string.h> using namespace std; int main() { //freopen("in.txt","r",stdin); int ind_print=3,cas=5000,p=1; char re[10]={'0','1','2','3','4','5','6','7','8','9'}; char aa[]={'1'}; char str1[2000],str2[2000],sum[2000],str3[...
Mon Aug 30, 2010 9:55 am
Forum: Volume 114 (11400-11499)
Topic: 11462 - Age Sort
Replies: 49
Views: 19176

### Re: 11462 - Ages Sort

Why I am getting Runtime error Why #include<iostream> #include<stdio.h> #include<vector> using namespace std; void merge(int a[2000001], long low, long high, long mid); void mergesort(int a[2000001], long low, long high) { long mid; if(low<high) { mid=(low+high)/2; mergesort(a,low,mid); mergesort(a,...
Sat Aug 14, 2010 11:47 am
Forum: Volume 114 (11400-11499)
Topic: 11461 - Square Numbers
Replies: 15
Views: 7310

### Re: 11461 - Square Number

Why I am getting W/A

My Code is :

Code: Select all

``````#include<iostream>
#include<math.h>
using namespace std;
int main()
{
long a,b;
while(1)
{
cin>>a>>b;
if(b==0&&a==0)
break;
cout<<long(sqrt(b)-(sqrt(a-1)))<<endl;
}
return 0;
}

``````
Tue Jul 13, 2010 2:54 pm
Forum: Volume 103 (10300-10399)
Topic: 10324 - Zeros and Ones
Replies: 179
Views: 45599

### Re: 10324 - Zeros and Ones

Hi

Can Any One Tell Me what to do in this problem. What Dose it Men by Min(i,j) and Max(i,j)

Thank You
Fri May 28, 2010 7:57 am
Forum: Volume 111 (11100-11199)
Topic: 11185 - Ternary
Replies: 34
Views: 14299

### Re: 11185 - Ternary Why W/A

I know My Algorithm is right, Then Why wrong answer

Code: Select all

``````Thanks Sohel. I forget the basic rules of Checking Input range.
Code Remove After A/C
``````
Sun Nov 22, 2009 8:54 am
Forum: Volume 117 (11700-11799)
Topic: 11716 - Digital Fortress
Replies: 39
Views: 11560

### 11716 - Digital Fortress

W/A why

Code: Select all

``````
Removed
After A/C
``````
Sun Nov 15, 2009 10:43 am
Forum: Volume 116 (11600-11699)
Topic: 11645 - Bits
Replies: 9
Views: 4348

### Re: 11645 - Bits

Bro What is this.
Thu Nov 12, 2009 7:17 pm
Forum: Volume 111 (11100-11199)
Topic: 11172 - Relational Operator
Replies: 2
Views: 3992

### Re: 11172 input

Thnks

How foolish I was.
Wed Nov 11, 2009 7:35 pm
Forum: Volume 115 (11500-11599)
Replies: 15
Views: 3074

### Re: 11547 Not understand the algorithm

Still I dont unser stand the algorithm. Please tell me in details.
Wed Nov 11, 2009 7:31 pm
Forum: Volume 102 (10200-10299)
Topic: 10222 - Decode the Mad man
Replies: 30
Views: 9735

### Re: 10222 - Decode the Mad Man

If input in 1234567890-= then what will be output

Should I print a newline.
Sun Nov 08, 2009 11:47 am
Forum: Volume 100 (10000-10099)
Topic: 10062 - Tell me the frequencies!
Replies: 235
Views: 39384

### Re: 10062 - Tell Me the Frequencies!

I have change My Code. But Still W/A My Code is #include<iostream> //#include<conio.h> using namespace std; int flag=0; void p(char a,int n,int cf[100],int c[100]) { int j=0,i=0; if(a=='\n') { n++; for(i=0;i<96;i++) { for(j=0;j<95;j++) { if(cf[j]>cf[j+1]) { swap(cf[j],cf[j+1]); swap(c[j],c[j+1]); } ...
Wed Nov 04, 2009 9:41 am
Forum: Volume 4 (400-499)
Topic: 494 - Kindergarten Counting Game
Replies: 119
Views: 23560

### Re: 494 WA

Every Body who have faced W/A in this problem use isalpha function.

It will be lot easier for you.
Wed Nov 04, 2009 9:39 am
Forum: Volume 1 (100-199)
Topic: 113 - Power of Cryptography
Replies: 163
Views: 18126

### Re: 113- power of cryptography - What is the algorithm?

Thanks
Wed Nov 04, 2009 9:38 am
Forum: General
Topic: Compilation Error
Replies: 1
Views: 2820

### Compilation Error

Please Any Body help me I am getting compilation error on a problem. Here is my code

Code: Select all

``````Thnks
``````
Wed Oct 28, 2009 7:52 am
Forum: Volume 116 (11600-11699)
Topic: 11645 - Bits
Replies: 9
Views: 4348

### Re: 11645 - Bits Not Understanding the algorithm

Any body help me to solve this problem.
I am able to handle big number. How I can use DP Here.