hello ,
got AC...code removd
Search found 21 matches
- Fri Sep 12, 2008 9:07 am
- Forum: Volume 113 (11300-11399)
- Topic: 11348 - Exhibition
- Replies: 24
- Views: 10912
- Mon Sep 08, 2008 1:54 pm
- Forum: Volume 112 (11200-11299)
- Topic: 11220 - Decoding the message.
- Replies: 54
- Views: 21631
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)...
change the class name to "Main"...for java progs the class name should always be "Main" (in this judge)...
- Mon Sep 08, 2008 1:53 pm
- Forum: Volume 112 (11200-11299)
- Topic: 11220 - Decoding the message.
- Replies: 54
- Views: 21631
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.
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.
- Thu Sep 04, 2008 6:17 pm
- Forum: Volume 112 (11200-11299)
- Topic: 11220 - Decoding the message.
- Replies: 54
- Views: 21631
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))...
- Sun Jul 20, 2008 4:44 am
- Forum: Volume 5 (500-599)
- Topic: 555 - Bridge Hands
- Replies: 12
- Views: 4142
555 - Bridge Hands
Still no reply!!
anyone pls help me...


anyone pls help me...
- Mon Jul 14, 2008 2:41 pm
- Forum: Volume 5 (500-599)
- Topic: 555 - Bridge Hands
- Replies: 12
- Views: 4142
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>...
- Fri Jul 11, 2008 3:34 pm
- Forum: Volume 7 (700-799)
- Topic: 703 - Triple Ties: The Organizer's Nightmare
- Replies: 3
- Views: 3830
The Organizer's Nightmare
Got AC...
Thanks a lot to Jan...
Thanks a lot to Jan...
- Mon Jun 30, 2008 9:22 am
- Forum: Volume 108 (10800-10899)
- Topic: 10815 - Andy's First Dictionary
- Replies: 116
- Views: 33930
Re: 10815 - Andy's First Dictionary
Hi ,
Deleted
Deleted
- Mon Jun 30, 2008 9:07 am
- Forum: Volume 111 (11100-11199)
- Topic: 11150 - Cola
- Replies: 43
- Views: 23975
11150 - Cola
Thank u very much Jan for ur suggestions...I found the recurrence and got AC...
- Fri Jun 27, 2008 8:52 am
- Forum: Volume 5 (500-599)
- Topic: 583 - Prime Factors
- Replies: 171
- Views: 40929
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...
Thank u very much...
- Thu Jun 26, 2008 9:17 am
- Forum: Volume 5 (500-599)
- Topic: 583 - Prime Factors
- Replies: 171
- Views: 40929
583 - Prime Factors TLE
Hello ,
ACed... Thanks to Jan..
ACed... Thanks to Jan..
- Wed Jun 25, 2008 1:51 pm
- Forum: Volume 111 (11100-11199)
- Topic: 11150 - Cola
- Replies: 43
- Views: 23975
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!!
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!!
- Fri Jun 20, 2008 1:17 pm
- Forum: Volume 4 (400-499)
- Topic: 482 - Permutation Arrays
- Replies: 159
- Views: 35235
482 Permutation Arrays
Thanks mf....
Got AC...
Got AC...
- Thu Jun 19, 2008 4:12 pm
- Forum: Volume 100 (10000-10099)
- Topic: 10014 - Simple calculations
- Replies: 34
- Views: 9399
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 ...
- Mon Jun 16, 2008 3:01 pm
- Forum: Volume 4 (400-499)
- Topic: 482 - Permutation Arrays
- Replies: 159
- Views: 35235
482 Permutation Arrays
ACed....