Search found 3 matches

by aansu
Wed Jun 08, 2011 8:42 am
Forum: Volume 108 (10800-10899)
Topic: 10803 - Thunder Mountain
Replies: 47
Views: 30903

Re: 10803 - Thunder Mountain

It is passing all the test cases give here! can someone find the error please!!!

using namespace std;
#include<iostream>
#include<cstdio>
#include<cstring>
#include<algorithm>
#include<vector>
#include<limits>
#include<cmath>
#define LLU long long unsigned int
#define LLD long long double
#define ...
by aansu
Wed May 25, 2011 4:21 am
Forum: Volume 100 (10000-10099)
Topic: 10018 - Reverse and Add
Replies: 169
Views: 44032

Re: 10018 - Reverse and Add

can someone tell me why this gets a WA?
using namespace std;
#include<iostream>
#define LLU long long unsigned
LLU rev(LLU x)
{
LLU i=0;
while (x!=0)
{
i=i*10+(x%10);
x/=10;
}
return i;
}
bool ispalin(LLU x)
{
int NO[20],i=0;
while (x!=0)
{
NO[i++]=x%10;
x/=10;
}
i--;
for (int j=0;j ...
by aansu
Wed Oct 13, 2010 1:46 pm
Forum: Volume 100 (10000-10099)
Topic: 10065 - Useless Tile Packers
Replies: 22
Views: 8383

Re: 10065 - Useless Tile Packers

can someone give me critical cases? I tried all cases on this thread, my pro is running perfectly for all of them. But still WA :(

Go to advanced search