Search found 16 matches

by sabbir_alam_ufo
Wed Aug 31, 2016 9:46 pm
Forum: Volume 101 (10100-10199)
Topic: 10191 - Longest Nap
Replies: 75
Views: 44375

Re: 10191 - Longest Nap

My code passed every test case in uDebug. But still getting WA. Please help...

#include <bits/stdc++.h>
using namespace std;
#define MAX 2000000000

bool cmp(pair<int,int>a,pair<int,int>b)
{
if(a.first>b.first)
return false;
else if(a.first==b.first)
{
if(a.second>b.second)
return false ...
by sabbir_alam_ufo
Sun Aug 28, 2016 1:54 pm
Forum: Volume 111 (11100-11199)
Topic: 11151 - Longest Palindrome
Replies: 65
Views: 43528

Re: 11151 - Longest Palindrome

The following code passed all the udebug test cases. But still getting WA. Please help :( :(

Code: Select all

 Removed after AC 
by sabbir_alam_ufo
Wed Jan 28, 2015 8:33 am
Forum: Volume 103 (10300-10399)
Topic: 10377 - Maze Traversal
Replies: 26
Views: 14686

Re: 10377 - Maze Traversal

Getting WA please help !!!

#include<iostream>
#include<sstream>
#include<string>
#include<cstdlib>
#include<vector>
#include<map>
#include<queue>
#include<stack>
#include<cmath>
#include<cctype>
#include<set>
#include<bitset>
#include<algorithm>
#include<list>

#include<stdio.h>
#include<string.h ...
by sabbir_alam_ufo
Thu Jan 08, 2015 11:37 am
Forum: Volume 4 (400-499)
Topic: 468 - Key to Success
Replies: 33
Views: 7882

Re: 468 - Key to Success

Thanks Brianfry :)
Accepted.
by sabbir_alam_ufo
Wed Jan 07, 2015 6:53 am
Forum: Volume 4 (400-499)
Topic: 468 - Key to Success
Replies: 33
Views: 7882

Re: 468 - Key to Success

Still WA... :( :-?

Code: Select all

Removed after AC
by sabbir_alam_ufo
Sat Jan 03, 2015 9:59 pm
Forum: Volume 4 (400-499)
Topic: 468 - Key to Success
Replies: 33
Views: 7882

Re: 468 - Key to Success

Getting WA. Please help... :( :(

Code: Select all

Removed after AC
This one is getting WA too.. !!!

Code: Select all

Removed after AC
by sabbir_alam_ufo
Wed Dec 24, 2014 4:53 am
Forum: Volume 11 (1100-1199)
Topic: 1181 - Rubik's Cube
Replies: 4
Views: 2834

Re: 1181 - Rubik's Cube

Thanks brianfry713 !!! :) :)
by sabbir_alam_ufo
Mon Dec 22, 2014 12:08 pm
Forum: Volume 11 (1100-1199)
Topic: 1181 - Rubik's Cube
Replies: 4
Views: 2834

Re: 1181 - Rubik's Cube

Still WA.

Code: Select all

Code Removed After AC.
by sabbir_alam_ufo
Mon Dec 22, 2014 10:48 am
Forum: Volume 128 (12800-12899)
Topic: 12898 - AND OR
Replies: 7
Views: 3506

Re: 12898 - AND OR

Thanks brianfry713 :) :D

Code: Select all

Removed after AC
by sabbir_alam_ufo
Fri Nov 07, 2014 9:29 am
Forum: Volume 11 (1100-1199)
Topic: 1181 - Rubik's Cube
Replies: 4
Views: 2834

1181 - Rubik's Cube

Getting WA. Don't know why. Please Help.

Code: Select all

Code Removed.
by sabbir_alam_ufo
Tue Sep 16, 2014 9:41 pm
Forum: Volume 118 (11800-11899)
Topic: 11800 - Determine the Shape
Replies: 47
Views: 22259

Re: 11800 - Determine the Shape

Thanks I got the point.
by sabbir_alam_ufo
Tue Sep 16, 2014 9:39 pm
Forum: Volume 100 (10000-10099)
Topic: 10036 - Divisibility
Replies: 37
Views: 18713

Re: 10036 - Divisibility

Thank you brianfry713. I will try to write cleaner code. :)
by sabbir_alam_ufo
Thu Sep 11, 2014 11:37 pm
Forum: Volume 100 (10000-10099)
Topic: 10036 - Divisibility
Replies: 37
Views: 18713

Re: 10036 - Divisibility

Getting TLE.
Is there anything wrong in my dp function ?
#include<iostream>
#include<sstream>
#include<string>
#include<cstdlib>
#include<vector>
#include<map>
#include<queue>
#include<stack>
#include<cmath>
#include<cctype>
#include<set>
#include<bitset>
#include<algorithm>
#include<list ...
by sabbir_alam_ufo
Thu Sep 11, 2014 11:34 pm
Forum: Volume 118 (11800-11899)
Topic: 11800 - Determine the Shape
Replies: 47
Views: 22259

Re: 11800 - Determine the Shape

Still getting WA.
here is the code:
#include<iostream>
#include<sstream>
#include<string>
#include<cstdlib>
#include<vector>
#include<map>
#include<queue>
#include<stack>
#include<cmath>
#include<cctype>
#include<set>
#include<bitset>
#include<algorithm>
#include<list>

#include<stdio.h>
#include ...
by sabbir_alam_ufo
Fri Aug 29, 2014 10:42 pm
Forum: Volume 118 (11800-11899)
Topic: 11800 - Determine the Shape
Replies: 47
Views: 22259

Re: 11800 - Determine the Shape

Why I am getting WA? Anyone help please !!! And isn't the sample output for the third test case is wrong ? It should print Parallelogram but they printed Rhombus.

#include<iostream>
#include<sstream>
#include<string>
#include<cstdlib>
#include<vector>
#include<map>
#include<queue>
#include<stack ...

Go to advanced search