Search found 21 matches

by aeiou
Fri Sep 12, 2008 9:07 am
Forum: Volume 113 (11300-11399)
Topic: 11348 - Exhibition
Replies: 24
Views: 10224

11348 - Exhibition ---Getting WA!!

hello ,

got AC...code removd
by aeiou
Mon Sep 08, 2008 1:54 pm
Forum: Volume 112 (11200-11299)
Topic: 11220 - Decoding the message.
Replies: 54
Views: 20552

Re: 11220 - Decoding the message

To naffi,
change the class name to "Main"...for java progs the class name should always be "Main" (in this judge)...
by aeiou
Mon Sep 08, 2008 1:53 pm
Forum: Volume 112 (11200-11299)
Topic: 11220 - Decoding the message.
Replies: 54
Views: 20552

Re: 11220 - Decoding the message

To naffi ,

I cant find anything in ur code tat leads to rte..
usually for Java progs,the judge returns rte for WAs also..jus try increasing the length of the 'char' array to 4K or more.
by aeiou
Thu Sep 04, 2008 6:17 pm
Forum: Volume 112 (11200-11299)
Topic: 11220 - Decoding the message.
Replies: 54
Views: 20552

Re: 11220 - Decoding the message

To Himanshu , c d comments n change ur code... #include<iostream> #include<string> #include<sstream> using namespace std; int main() { int T; cin >> T; getchar(); string s; getline(cin, s); for(int i = 1; i <= T; i++) { cout << "Case #" << i << ":" << endl; while(getline(cin, s)) { if(s == "") { cou...
by aeiou
Sun Jul 20, 2008 4:44 am
Forum: Volume 5 (500-599)
Topic: 555 - Bridge Hands
Replies: 12
Views: 3861

555 - Bridge Hands

Still no reply!! :cry: :cry:
anyone pls help me...
by aeiou
Mon Jul 14, 2008 2:41 pm
Forum: Volume 5 (500-599)
Topic: 555 - Bridge Hands
Replies: 12
Views: 3861

555 - Bridge Hands

Hi everybody, I thought this problem is easy but I get WA... Here's my code , anyone pls help me!! #include <iostream> #include <vector> #include <string> #include <cstdio> #include <algorithm> using namespace std; #define pb push_back #define fir_big 0 #define same 1 #define sec_big 2 vector <char>...
by aeiou
Fri Jul 11, 2008 3:34 pm
Forum: Volume 7 (700-799)
Topic: 703 - Triple Ties: The Organizer's Nightmare
Replies: 3
Views: 3680

The Organizer's Nightmare

Got AC...
Thanks a lot to Jan...
by aeiou
Mon Jun 30, 2008 9:22 am
Forum: Volume 108 (10800-10899)
Topic: 10815 - Andy's First Dictionary
Replies: 116
Views: 30763

Re: 10815 - Andy's First Dictionary

Hi ,
Deleted
by aeiou
Mon Jun 30, 2008 9:07 am
Forum: Volume 111 (11100-11199)
Topic: 11150 - Cola
Replies: 43
Views: 22754

11150 - Cola

Thank u very much Jan for ur suggestions...I found the recurrence and got AC...
by aeiou
Fri Jun 27, 2008 8:52 am
Forum: Volume 5 (500-599)
Topic: 583 - Prime Factors
Replies: 171
Views: 36853

Re: 583 - Prime Factors

Thanks for the idea Jan...My code appears to be faster to me , I thought tat ll pass TL , but now precalculated the primes and got AC ...
Thank u very much...
by aeiou
Thu Jun 26, 2008 9:17 am
Forum: Volume 5 (500-599)
Topic: 583 - Prime Factors
Replies: 171
Views: 36853

583 - Prime Factors TLE

Hello ,
ACed... Thanks to Jan..
by aeiou
Wed Jun 25, 2008 1:51 pm
Forum: Volume 111 (11100-11199)
Topic: 11150 - Cola
Replies: 43
Views: 22754

11150 - Cola

Hi,
I ve been thinking about this problem but not able to find the recurrence yet...Can anybody PM/post the recurrence?
Pls help this learner!!
by aeiou
Fri Jun 20, 2008 1:17 pm
Forum: Volume 4 (400-499)
Topic: 482 - Permutation Arrays
Replies: 159
Views: 31685

482 Permutation Arrays

Thanks mf....
Got AC...
by aeiou
Thu Jun 19, 2008 4:12 pm
Forum: Volume 100 (10000-10099)
Topic: 10014 - Simple calculations
Replies: 34
Views: 8468

10014 - Simple Calculations

Hi, I ve been trying this problem for a long time...but getting WA.. I m sure about my calculations.... I used the formula : (n+1)a1=n*a0 + (an+1) - 2(n*c1 + (n-1)*c2 + (n-2)*c3 + ... + 1*cn) Here's my code : #include<iostream> #include<cmath> #include<vector> using namespace std; int main () { int ...
by aeiou
Mon Jun 16, 2008 3:01 pm
Forum: Volume 4 (400-499)
Topic: 482 - Permutation Arrays
Replies: 159
Views: 31685

482 Permutation Arrays

ACed....

Go to advanced search