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: 23698

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 FO...
by aansu
Wed May 25, 2011 4:21 am
Forum: Volume 100 (10000-10099)
Topic: 10018 - Reverse and Add
Replies: 169
Views: 17579

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<i;j++,i--) if(NO...
by aansu
Wed Oct 13, 2010 1:46 pm
Forum: Volume 100 (10000-10099)
Topic: 10065 - Useless Tile Packers
Replies: 22
Views: 5889

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