## Search found 25 matches

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

### 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...
Mon Oct 28, 2013 2:06 pm
Forum: Volume 4 (400-499)
Topic: 482 - Permutation Arrays
Replies: 159
Views: 35251

### 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...
Tue Oct 22, 2013 6:20 pm
Forum: Volume 102 (10200-10299)
Topic: 10279 - Mine Sweeper
Replies: 102
Views: 30457

### 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...
Fri Oct 18, 2013 11:30 pm
Forum: Volume 102 (10200-10299)
Topic: 10279 - Mine Sweeper
Replies: 102
Views: 30457

### 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...
Fri Oct 18, 2013 10:12 pm
Forum: Volume 112 (11200-11299)
Topic: 11244 - Counting Stars
Replies: 21
Views: 10855

### Re: 11244 - Counting Stars

Where's the problem

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

### Re: 572 WA :-(

where's the problem;

Code: Select all

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

### 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> ...
Tue Jul 30, 2013 1:12 am
Forum: Volume 103 (10300-10399)
Topic: 10340 - All in All
Replies: 129
Views: 35052

### 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

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

### 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 par...
Tue Jul 23, 2013 7:47 pm
Forum: Volume 9 (900-999)
Topic: 914 - Jumping Champion
Replies: 37
Views: 18511

### 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
``````
Wed Jul 17, 2013 11:53 pm
Forum: Volume 8 (800-899)
Topic: 847 - A Multiplication Game
Replies: 41
Views: 21566

### Re: 847 - A Multiplication Game

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

### 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.
Fri Jul 12, 2013 11:49 pm
Forum: Volume 117 (11700-11799)
Topic: 11713 - Abstract Names
Replies: 13
Views: 5152

### 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...
Fri Jul 12, 2013 3:38 pm
Forum: Volume 4 (400-499)
Topic: 490 - Rotating Sentences
Replies: 212
Views: 24738

### Re: 490 - Rotating Sentences

``  Deleted after got AC``