Search found 5 matches

by Uttam Dwivedi
Thu Mar 22, 2007 2:33 pm
Forum: Volume 2 (200-299)
Topic: 278 - Chess
Replies: 22
Views: 6850

the minimum possible size of the board is 4*4...
by Uttam Dwivedi
Mon Feb 12, 2007 10:38 pm
Forum: Volume 1 (100-199)
Topic: 147 - Dollars
Replies: 233
Views: 50873

147 TLE ...??

here is my code... its giving TLE on submitting .. can any body help me..

#include<iostream>
#include<cstdio>
using namespace std;
int main()
{
int coins[11]={5,10,20,50,100,200,500,1000,2000,5000,10000};
double u;
while(cin>>u&&u!=0)
{
int n=(int)(u*100);
long long d[30001];
d[0]=1;
int i ...
by Uttam Dwivedi
Tue Sep 26, 2006 10:47 pm
Forum: Volume 6 (600-699)
Topic: 612 - DNA Sorting
Replies: 122
Views: 33601

612 Wrong Answer

I run this program for all type of input and it is giving correct answer,
but on submition it shows WA.

i tried several times ... but cant find out the bug...
plzz help me ...

the code is.

#include<iostream>
#include<vector>
#include<string>
#include<algorithm>
using namespace std;

struct data ...
by Uttam Dwivedi
Mon Aug 28, 2006 9:22 pm
Forum: Volume 100 (10000-10099)
Topic: 10013 - Super long sums
Replies: 212
Views: 67693

@dhello neo

Thanx a lot dude.....
i got all my probs wid P.E. submitted.
by Uttam Dwivedi
Mon Aug 28, 2006 6:09 pm
Forum: Volume 100 (10000-10099)
Topic: 10013 - Super long sums
Replies: 212
Views: 67693

10013

the code has solved the problem but still showing presentation error...
plzzz find it out .. Bcoz some other problems too have this error....

#include<iostream>
#include<vector>
using namespace std;
int main()
{
int N,i=0;
cin>>N;
while(i<N)
{int carry=0,M,A,B,j=0;
cin>>M;
vector<int> a,b ...

Go to advanced search