Search found 67 matches

by rushel
Sun Jul 08, 2007 10:40 am
Forum: Volume 112 (11200-11299)
Topic: 11235 - Frequent values
Replies: 35
Views: 16156

I use static binary heap to solve this.
by rushel
Sat Jul 07, 2007 8:29 pm
Forum: Volume 112 (11200-11299)
Topic: 11235 - Frequent values
Replies: 35
Views: 16156

i got 3 also thanks
by rushel
Sat Jul 07, 2007 8:08 pm
Forum: Volume 112 (11200-11299)
Topic: 11235 - Frequent values
Replies: 35
Views: 16156

11235 - Frequent values

I tried so many inputs and all of them seems to be right. but i am having WA.
can anybody give some tricky test cases
thanks
by rushel
Mon Jun 18, 2007 11:43 pm
Forum: Volume 109 (10900-10999)
Topic: 10905 - Children's Game
Replies: 66
Views: 26066

i think a simple bubble sort will do. i just have to take decisions between two strings which on should come before.

e.g: 1234 12349

string1: 123412349
string2: 123491234
so string2 should come before string1
by rushel
Sun Apr 15, 2007 4:42 pm
Forum: Algorithms
Topic: SPOJ Posters
Replies: 1
Views: 2111

SPOJ Posters

http://www.spoj.pl/problems/POSTERS/
i am trying this problem for some time and having WA:

can anybody help me with some tricky test case or give some algo:
thanks
by rushel
Tue Mar 13, 2007 12:18 pm
Forum: ACM ICPC Archive Board
Topic: Regional Dhaka(2006/2007) 2196(Multiplication)
Replies: 0
Views: 1898

Regional Dhaka(2006/2007) 2196(Multiplication)

what is the output for n = 10 ?
can anybody help me.
thanks in advance.
by rushel
Tue Mar 06, 2007 6:41 am
Forum: Volume 111 (11100-11199)
Topic: 11194 - Stone Grid
Replies: 7
Views: 2780

A small hint on a problem please.
thanks
by rushel
Thu Mar 01, 2007 10:54 am
Forum: Volume 111 (11100-11199)
Topic: 11184 - Joyful Ride
Replies: 11
Views: 7244

Can anybody give hint on how to generate those integers?
by rushel
Tue Feb 20, 2007 6:42 am
Forum: Volume 111 (11100-11199)
Topic: 11174 - Stand in a Line
Replies: 9
Views: 3708

How to

Guys, how to use multiplication inverse in this problem. Can u describe the algorithm.
by rushel
Wed Nov 01, 2006 7:41 am
Forum: ACM ICPC Archive Board
Topic: Having problem in Registration at live archive
Replies: 0
Views: 2199

Having problem in Registration at live archive

I am having problem in regitration at live archive http://acmicpc-live-archive.uva.es/nuevoportal/ . Its giving me the
message "The orgin field is wrong" though i filled up everything correctly

Thanks
by rushel
Fri Oct 27, 2006 6:01 pm
Forum: Volume 111 (11100-11199)
Topic: 11147 - KuPellaKeS BST
Replies: 12
Views: 4586

read the description carefully. U have to print each node. worst case running time is O(n^2)
by rushel
Wed Oct 18, 2006 4:13 pm
Forum: C++
Topic: set to vector C++
Replies: 3
Views: 7419

Errror

Here is the error given in my visual C++: error C2664: '__thiscall std::vector<int,class std::allocator<int> >::std::vector<int,class std::allocator<int> >(unsigned int,const int &,const class std::allocator<int> &)' : cannot convert parameter 1 from 'class std::_Tree<int, int,struct std::set<int,st...
by rushel
Wed Oct 18, 2006 8:37 am
Forum: Volume 111 (11100-11199)
Topic: 11127 - Triple-Free Binary Strings
Replies: 13
Views: 4962

algo

Its a simple backtracking and u have to check triples efficienty.

suppose u have string S so far in backtracking and s is a suffix of S and |s| should be multiple of 3. use this idea.

thanks
by rushel
Thu Oct 12, 2006 11:00 am
Forum: C++
Topic: set to vector C++
Replies: 3
Views: 7419

set to vector C++

hi guys. i am having a problem from convertin set to vector using following code:

set<int> s; vector<int> v(s.begin(),s.end());

is there any way of doing the above task not using for loop.
by rushel
Mon Oct 02, 2006 9:06 am
Forum: Algorithms
Topic: Suffix Tree and some application
Replies: 1
Views: 1905

Suffix Tree and some application

Hi guys i want to learn suffix tree and also want to see some suffix application.
please guys help me i badly need it.

Go to advanced search