Search found 26 matches

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

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[...
by noor_aub
Mon Aug 30, 2010 9:55 am
Forum: Volume 114 (11400-11499)
Topic: 11462 - Age Sort
Replies: 49
Views: 18284

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,...
by noor_aub
Sat Aug 14, 2010 11:47 am
Forum: Volume 114 (11400-11499)
Topic: 11461 - Square Numbers
Replies: 15
Views: 6960

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;
}

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

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
by noor_aub
Fri May 28, 2010 7:57 am
Forum: Volume 111 (11100-11199)
Topic: 11185 - Ternary
Replies: 34
Views: 13886

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
by noor_aub
Sun Nov 22, 2009 8:54 am
Forum: Volume 117 (11700-11799)
Topic: 11716 - Digital Fortress
Replies: 39
Views: 11122

11716 - Digital Fortress

W/A why

Code: Select all


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

Re: 11645 - Bits

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

Re: 11172 input

Thnks

How foolish I was.
by noor_aub
Wed Nov 11, 2009 7:35 pm
Forum: Volume 115 (11500-11599)
Topic: 11547 - Automatic Answer
Replies: 15
Views: 2747

Re: 11547 Not understand the algorithm

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

Re: 10222 - Decode the Mad Man

If input in 1234567890-= then what will be output

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

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]); } ...
by noor_aub
Wed Nov 04, 2009 9:41 am
Forum: Volume 4 (400-499)
Topic: 494 - Kindergarten Counting Game
Replies: 119
Views: 21946

Re: 494 WA

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

It will be lot easier for you.
by noor_aub
Wed Nov 04, 2009 9:38 am
Forum: General
Topic: Compilation Error
Replies: 1
Views: 2795

Compilation Error

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

Code: Select all

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

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.

:(

Go to advanced search