Search found 2 matches

by ljk
Fri Apr 05, 2013 3:23 am
Forum: Volume 101 (10100-10199)
Topic: 10131 - Is Bigger Smarter?
Replies: 93
Views: 65021

Re: 10131 - Is Bigger Smarter?

@brianfry: I tested the i/p you gave and answer was perfect, but still getting WA. [Have used simple LIS with one change: I have also checked list of elephants from both ends because the output may not be a subsequence necessarily. [eg most intelligent and thinnest elephant may be at list end.] Code...
by ljk
Fri Apr 05, 2013 2:06 am
Forum: Volume 4 (400-499)
Topic: 497 - Strategic Defense Initiative
Replies: 144
Views: 21377

Why WA in 497? Test Cases working fine!

I tested for the inputs in this thread, which work perfectly. Why WA? Thanks in advance. Here's the code (simple LIS) [http://ideone.com/hihvoU] : #include<iostream> #include<fstream> #include<sstream> #include<cstdio> #include<stdlib.h> #include<string> #include<cstring> #include<cmath> #include<al...

Go to advanced search