Search found 25 matches

by hello
Tue May 20, 2014 4:40 am
Forum: Volume 1 (100-199)
Topic: 123 - Searching Quickly
Replies: 55
Views: 5002

123 - 123 - Searching Quickly

Why WA .... #include <bits/stdc++.h> using namespace std; #define zero(arr) memset(arr,0,sizeof(arr)); #define mem(arr,k) memset(arr,k,sizeof(arr)); #define rep(i,n) for(int i=0;i<n;i++) #define rep_1(i,n) for(int i=1;i<n;i++) #define FOR(i,m,n,k) for(int i=m;i<n;i=i+k) #define VI vector<int> #defin...
by hello
Mon Oct 28, 2013 2:06 pm
Forum: Volume 4 (400-499)
Topic: 482 - Permutation Arrays
Replies: 159
Views: 31691

Re: 482 Permutation Arrays

Got RE... :( //bismillahhirrahmanirrahim #include<cstdio> #include<sstream> #include<cstdlib> #include<cctype> #include<cmath> #include<algorithm> #include<set> #include<queue> #include<stack> #include<list> #include<iostream> #include<fstream> #include<numeric> #include<string> #include<vector> #in...
by hello
Tue Oct 22, 2013 6:20 pm
Forum: Volume 102 (10200-10299)
Topic: 10279 - Mine Sweeper
Replies: 102
Views: 28362

Re: 10279 - Mine Sweeper

Successfully pass your test cases...Still WA..... #include<cstdio> #include<sstream> #include<cstdlib> #include<cctype> #include<cmath> #include<algorithm> #include<set> #include<queue> #include<stack> #include<list> #include<iostream> #include<fstream> #include<numeric> #include<string> #include<ve...
by hello
Fri Oct 18, 2013 11:30 pm
Forum: Volume 102 (10200-10299)
Topic: 10279 - Mine Sweeper
Replies: 102
Views: 28362

Re: 10279 - Mine Sweeper

What's the problem....? #include<cstdio> #include<sstream> #include<cstdlib> #include<cctype> #include<cmath> #include<algorithm> #include<set> #include<queue> #include<stack> #include<list> #include<iostream> #include<fstream> #include<numeric> #include<string> #include<vector> #include<cstring> #i...
by hello
Fri Oct 18, 2013 10:12 pm
Forum: Volume 112 (11200-11299)
Topic: 11244 - Counting Stars
Replies: 21
Views: 10347

Re: 11244 - Counting Stars

Where's the problem

[code I Got it
[/code]
by hello
Fri Oct 18, 2013 9:32 pm
Forum: Volume 5 (500-599)
Topic: 572 - Oil Deposits
Replies: 39
Views: 16181

Re: 572 WA :-(

where's the problem;

Code: Select all

I got it
by hello
Mon Sep 02, 2013 6:52 am
Forum: Volume 5 (500-599)
Topic: 531 - Compromise
Replies: 73
Views: 25578

Re: 531 - Compromise - WA

Why Wa..... #include<cstdio> #include<sstream> #include<cstdlib> #include<cctype> #include<cmath> #include<algorithm> #include<set> #include<queue> #include<stack> #include<list> #include<iostream> #include<fstream> #include<numeric> #include<string> #include<vector> #include<cstring> #include<map> ...
by hello
Tue Jul 30, 2013 1:12 am
Forum: Volume 103 (10300-10399)
Topic: 10340 - All in All
Replies: 129
Views: 31848

Re: 10340 - All in All

Why the LCS algo giving Runtime error. Ya i have already solved it in other way. Byt LCS should work. Is there any problem with my code? I see other people have the same problem.

Code: Select all

 ? 
by hello
Sat Jul 27, 2013 1:18 pm
Forum: Volume 102 (10200-10299)
Topic: 10257 - Dick and Jane
Replies: 14
Views: 7549

Re: 10257 - Dick and Jane

I really do not see any brute force application. Problem is that Age can be Advance in +1 for both Spot & Puff (As described in the first paragraph of the description). So You can easily decide that when you are calculating Yertle's age, by extra calculation of taking mod 3. The only complex part is...
by hello
Tue Jul 23, 2013 7:47 pm
Forum: Volume 9 (900-999)
Topic: 914 - Jumping Champion
Replies: 37
Views: 17475

Re: 914 - Jumping Champion

Where is the problem .......... I have already check all the i/o from this forum.....

Code: Select all

  :lol: got the problem
by hello
Wed Jul 17, 2013 11:53 pm
Forum: Volume 8 (800-899)
Topic: 847 - A Multiplication Game
Replies: 41
Views: 20133

Re: 847 - A Multiplication Game

Then why Ollie always call 2 in the second ? @brianfry713
by hello
Fri Jul 12, 2013 11:57 pm
Forum: Volume 8 (800-899)
Topic: 847 - A Multiplication Game
Replies: 41
Views: 20133

Re: 847 - A Multiplication Game

I really don't understand the problem. What is the real gameplan of stan to select the number at first.The statement says
assume that both of them play perfectly
I think this might be the key. But I also don't understand the meaning of it.
by hello
Fri Jul 12, 2013 11:49 pm
Forum: Volume 117 (11700-11799)
Topic: 11713 - Abstract Names
Replies: 13
Views: 4869

Re: 11713 - Abstract Names

Clearly the data set have a great lacking. I solve this problem in this way #include<cstdio> #include<sstream> #include<cstdlib> #include<cctype> #include<cmath> #include<algorithm> #include<set> #include<queue> #include<stack> #include<list> #include<iostream> #include<fstream> #include<numeric> #i...
by hello
Fri Jul 12, 2013 3:38 pm
Forum: Volume 4 (400-499)
Topic: 490 - Rotating Sentences
Replies: 212
Views: 20356

Re: 490 - Rotating Sentences

Thanks for your reply . . . . . . .
by hello
Thu Jul 11, 2013 10:09 am
Forum: Volume 4 (400-499)
Topic: 490 - Rotating Sentences
Replies: 212
Views: 20356

Re: 490 - Rotating Sentences

What is the problem

Code: Select all

  Deleted after got AC

Go to advanced search