Search found 5 matches

by elmagnifico
Thu May 24, 2012 5:52 pm
Forum: Volume 100 (10000-10099)
Topic: 10038 - Jolly Jumpers
Replies: 445
Views: 77469

Re: 10038 - Jolly Jumpers

Code: Select all

code removed after AC
"Not Jolly" is actually "Not jolly".
5 WA then AC.. :-?
by elmagnifico
Wed May 16, 2012 11:05 am
Forum: Volume 100 (10000-10099)
Topic: 10008 - What's Cryptanalysis?
Replies: 55
Views: 16993

Re: 10008 - What's Cryptanalysis?

Ok.. I tried test cases as many as I could think of.. But i'm still getting WA.. Can sumone point out the bugs? #include<iostream> #include<cstdlib> #include<cctype> #include<cstring> #include<string> #include<vector> using namespace std; int main() { int i,j,k,c=0,n;string s;cin>>n;vector<int> freq...
by elmagnifico
Tue May 01, 2012 11:10 am
Forum: Volume 4 (400-499)
Topic: 455 - Periodic Strings
Replies: 73
Views: 16547

Re: getting WA (455) please help

I am getting WA.. Please help sumone Here is my code: import java.io.*; import java.util.*; class Main { public static void main(String args[])throws IOException { BufferedReader x=new BufferedReader(new InputStreamReader(System.in)); int period=0,n=0,p=0,z=0,i=0,j=0,l=0,k=0;String s="",t=""; n=Inte...
by elmagnifico
Mon Apr 30, 2012 6:50 pm
Forum: Volume 4 (400-499)
Topic: 443 - Humble Numbers
Replies: 82
Views: 6837

Re: 443 Wrong Answer

My code is as below giving correct answer for all possible inputs.. But still getting WA.. Please help.


Got acc.. Try out cases like.. 111,211... If it's a problem with suffixes this is most likely where all f us make mistakes.
by elmagnifico
Mon Apr 30, 2012 10:24 am
Forum: Volume 102 (10200-10299)
Topic: 10279 - Mine Sweeper
Replies: 102
Views: 27841

Re: 10279 - Mine Sweeper

I tried almost all test case i could think of but i am getting wrong answer. Please help
Here is my code..


Got acc..Thanks.. No blank line should be printed after the last test case.. :)

Go to advanced search