Search found 46 matches

by gr81
Fri Nov 02, 2012 7:26 pm
Forum: Volume 111 (11100-11199)
Topic: 11115 - Uncle Jack
Replies: 25
Views: 15921

Re: 11115 - Uncle Jack

hi, output is 1, i have tested with my program, but still getting WA, if WA gets corrected, then I will look into TLE if any.
any suggestion.
by gr81
Tue Oct 30, 2012 10:50 pm
Forum: Volume 111 (11100-11199)
Topic: 11115 - Uncle Jack
Replies: 25
Views: 15921

Re: 11115 - Uncle Jack

getting TLE...please help.. here is the code.. #include <iostream> #include <fstream> #include <string> #include <string.h> using namespace std; typedef int BigN[1000]; BigN a; BigN result; void print(BigN num) { for(int i = num[0]; i > 0; --i) cout << num ; cout << endl; } int to_int(string &str) {...
by gr81
Sat Oct 27, 2012 12:36 pm
Forum: Volume 100 (10000-10099)
Topic: 10070 - Leap Year or Not Leap Year and ...
Replies: 233
Views: 54880

Re: 10070 - Leap Year or Not Leap Year and …

it is bulukulu not buluculu....

thanks..
by gr81
Sat Oct 27, 2012 12:44 am
Forum: Volume 100 (10000-10099)
Topic: 10070 - Leap Year or Not Leap Year and ...
Replies: 233
Views: 54880

Re: 10070 - Leap Year or Not Leap Year and …

i resubmitted the code after removing the following lines....still WA ?
any more suggestion where i can look...
by gr81
Fri Oct 26, 2012 3:33 pm
Forum: Volume 100 (10000-10099)
Topic: 10070 - Leap Year or Not Leap Year and ...
Replies: 233
Views: 54880

Re: 10070 - Leap Year or Not Leap Year and …

removed AC code.
by gr81
Wed Oct 24, 2012 10:09 am
Forum: Volume 2 (200-299)
Topic: 290 - Palindroms <---> smordnilaP
Replies: 31
Views: 7269

Re: 290 Palindroms why WA

thanks.
by gr81
Sat Oct 20, 2012 1:05 pm
Forum: Volume 104 (10400-10499)
Topic: 10473 - Simple Base Conversion
Replies: 46
Views: 13671

Re: 10473 - Simple Base Conversion

code AC, terminated digit should be -ve number, i was considering -1.
by gr81
Sat Oct 20, 2012 12:59 pm
Forum: Volume 104 (10400-10499)
Topic: 10473 - Simple Base Conversion
Replies: 46
Views: 13671

Re: 10473 - Simple Base Conversion

Is there any special test case, which is failing my submitted programs...

here is output with my program..

Input
4
7
44
0x80685
0x9f9f
1234567
0
0x0
0XFFFFFFFF
23342342234
-1


Output
0x4
0x7
0x2C
525957
40863
0x12D687
0x0
0
-1
0x6F4FE05A


Help...
by gr81
Sat Oct 20, 2012 6:56 am
Forum: Volume 2 (200-299)
Topic: 290 - Palindroms <---> smordnilaP
Replies: 31
Views: 7269

Re: 290 Palindroms why WA

WA...don't know y ?

Removed Code after AC.
by gr81
Tue Oct 09, 2012 7:55 pm
Forum: Volume 4 (400-499)
Topic: 483 - Word Scramble
Replies: 122
Views: 20799

Re: 483

sorry I didn't get your doubt....
by gr81
Mon Oct 08, 2012 7:55 pm
Forum: Volume 4 (400-499)
Topic: 483 - Word Scramble
Replies: 122
Views: 20799

Re: 483

getting WA...please have a look... #include <iostream> #include <vector> #include <string> #include <string.h> #include <ctype.h> #include <stdio.h> using namespace std; void reverse(char *str, int start, int end) { if( start < end ) { char tmp = str[start]; str[start] = str[end]; str[end] = tmp; re...
by gr81
Wed Oct 03, 2012 6:52 am
Forum: Volume 100 (10000-10099)
Topic: 10038 - Jolly Jumpers
Replies: 445
Views: 82750

Re: 10038 - Jolly Jumpers

My God....I can't believe i made that mistake...thanks Brian..I will make the change and will try to submit again...
Thanks once again..
by gr81
Tue Oct 02, 2012 6:13 pm
Forum: Volume 100 (10000-10099)
Topic: 10038 - Jolly Jumpers
Replies: 445
Views: 82750

Re: 10038 - Jolly Jumpers

I appreciate your help,but I am looking for any logical error. why I am getting WA in this source code.
thanks.
by gr81
Fri Sep 28, 2012 6:49 am
Forum: Volume 100 (10000-10099)
Topic: 10038 - Jolly Jumpers
Replies: 445
Views: 82750

Re: 10038 - Jolly Jumpers

freopen line is only for debug purpose on my PC, else it will be excluded in actual submission.
by gr81
Thu Sep 27, 2012 5:26 pm
Forum: Volume 100 (10000-10099)
Topic: 10038 - Jolly Jumpers
Replies: 445
Views: 82750

Re: 10038 - Jolly Jumpers

Removed code after AC.

Go to advanced search