Search found 3 matches

by Sanjary Rahman
Thu Dec 06, 2012 2:43 pm
Forum: Volume 109 (10900-10999)
Topic: 10993 - Ignoring Digits
Replies: 19
Views: 9440

Re: 10993 - Ignoring Digits

Can anyone tell me what's the problem with my code? Getting WA though It passes all the sample I/O given in the problem and the ones you guys gave in this post.

Code: Select all

CODE REMOVED AFTER AC
Just Had a simple Bfs with string,int pair Vector :) Easy One!
by Sanjary Rahman
Wed Nov 14, 2012 8:33 pm
Forum: Volume 114 (11400-11499)
Topic: 11499 - Longest Increasing Sequence
Replies: 7
Views: 4291

Re: 11499 - Longest Increasing Sequence

Post the full code, that won't compile without any includes. Also use the code blocks. Sorry,,,, here is my full code.... #include<iostream> #include<list> #include<string> #include<cstring> #include<sstream> #include<cctype> #include<string.h> #include<algorithm> #include<cmath> #include<stack> #i...
by Sanjary Rahman
Tue Nov 13, 2012 8:34 am
Forum: Volume 114 (11400-11499)
Topic: 11499 - Longest Increasing Sequence
Replies: 7
Views: 4291

Re: 11499 - Longest Increasing Sequence

I am trying since last 3 days after this single problem....please please help me out!!! Why I'm getting WA?? :( :( Here's my Code: int n,m; int lis[605][605]; int Sequence[605][605]; int LIS_LIS() { for(int a=0;a<n;a++) { for(int b=0;b<m-1;b++) { int cn=1; for(int c=b;c<m-1;c++) { if(Sequence[a][c]<...

Go to advanced search