Search found 5 matches

by incruator
Thu Apr 09, 2015 4:58 pm
Forum: Volume 115 (11500-11599)
Topic: 11572 - Unique Snowflakes
Replies: 36
Views: 13012

Re: 11572 - Unique Snowflakes

Please provide test cases for this.. I m stuck :( :( #include <bits/stdc++.h> using namespace std; typedef long long int ll; typedef vector<int>vi; typedef pair<int,int>ii; typedef vector<ii>vii; #define M 1000000007 const int INF = (int) 1e9; const int MAX = (int) 1e6 + 10; set<ll>s; //int a[MAX]; ...
by incruator
Wed Oct 01, 2014 4:44 pm
Forum: Volume 5 (500-599)
Topic: 531 - Compromise
Replies: 73
Views: 26603

Re: 531 - Compromise

No The above code is still getting PE .. Can you tell wts wrong in that code.
Please ..
Thanks :oops: :oops:
by incruator
Tue Sep 30, 2014 12:19 am
Forum: Volume 5 (500-599)
Topic: 531 - Compromise
Replies: 73
Views: 26603

Re: 531 - Compromise PE error

I have tried every input Pleae Help . /* Approach: Longest Common Subsequence */ #include <cstring> #include <vector> #include <list> #include <map> #include <set> #include <deque> #include <stack> #include <bitset> #include <algorithm> #include <functional> #include <numeric> #include <utility> #in...
by incruator
Mon Sep 01, 2014 1:17 pm
Forum: Volume 113 (11300-11399)
Topic: 11321 - Sort! Sort!! and Sort!!!
Replies: 50
Views: 20980

Re: 11321 - Sort! Sort!! and Sort!!!

Please someone reply.. I have posted my code.. It runs for all test cases in thread.. Giving RTE...
:evil: :evil: :evil: :evil: :evil:
by incruator
Sun Aug 31, 2014 12:44 pm
Forum: Volume 113 (11300-11399)
Topic: 11321 - Sort! Sort!! and Sort!!!
Replies: 50
Views: 20980

Re: 11321 - Sort! Sort!! and Sort!!!

Please.. Someone help..I m getting RTE ..I have tried every alternative.. Can't find what i m doing wrong :( :( #include<iostream> #include<map> #include<utility> #include<algorithm> using namespace std; pair<long long int,long long int>p[10005]; bool cmp(pair<long long int ,long long int>p1,pair<lo...

Go to advanced search