## Search found 39 matches

Fri Mar 01, 2013 11:35 am
Forum: Volume 116 (11600-11699)
Topic: 11650 - Mirror Clock
Replies: 15
Views: 3059

### Re: 11650-why i get WA

Try these input output... Hope it will help u.... Input: 20 12:00 10:00 11:59 01:59 06:05 06:00 03:01 07:56 12:01 01:01 11:11 12:55 11:10 06:46 09:59 12:11 08:44 10:19 04:01 09:50 Output: 12:00 02:00 12:01 10:01 05:55 06:00 08:59 04:04 11:59 10:59 12:49 11:05 12:50 05:14 02:01 11:49 03:16 01:41 07:5...
Tue Feb 26, 2013 8:13 am
Forum: Volume 102 (10200-10299)
Topic: 10252 - Common Permutation
Replies: 150
Views: 52127

### Re: 10252 - Common Permutation

My Accepted code gives the following input output...... Sample Input: i like programming do u love me bangladeshi me gan rsgb uasfgi ksufhk sfhj ahdj shgvasa aaaaa ssssss dddd ffff aa dd fff d np pn pp alim mila shipu alim anjan sufi timekiller mr energy Sample Output: elmo abegns aghhjss aadddfff p...
Mon Feb 25, 2013 10:35 pm
Forum: Volume 6 (600-699)
Topic: 640 - Self Numbers
Replies: 47
Views: 18233

### Re: 640 - Self Numbers

I have used the following approach to solve this problem....... 1) Use an array and make sure the global declaration of the array so that the indexed value preset as zero. 2) Now start a loop from index i=1 to i=1000000. 3) If sum=i+digitsum of i, then set array[sum]=1. 4) Now just print the value o...
Fri Feb 15, 2013 7:31 pm
Forum: Volume 109 (10900-10999)
Topic: 10924 - Prime Words
Replies: 44
Views: 22562

### Re: 10924 - Prime Words

Code: Select all

``````The only tricky test case for this problem is 1 is considered as prime number which has been stated on the top of the problem.
" A prime number is a number that has only two divisors: itself and the number one. Examples of prime numbers are: 1, 2, 3, 5, 17, 101 and 10007."``````
Fri Feb 15, 2013 7:11 pm
Forum: Volume 4 (400-499)
Topic: 499 - What's The Frequency, Kenneth?
Replies: 93
Views: 10789

### Re: 499 - What's The Frequency, Kenneth?

Some Critical Input that harassed me....
Input:

Code: Select all

``````,,alim..ALIM
@@alim0123alim%%alim...AALL
..alim222.. .. .. &&alim..AAFFGG
(Alim)(Alim)(Alim)  aa
(Alim) (Alim)()``````
Output:

Code: Select all

``````AILMailm 1
alim 3
AFGailm 2
s 5
Alim 3
Alim 2``````
Fri Feb 15, 2013 2:07 pm
Forum: Volume 4 (400-499)
Topic: 494 - Kindergarten Counting Game
Replies: 119
Views: 22261

### Re: 494 WA

Some Critical Input That harasses me....
Input:

Code: Select all

``````,,alim
@@alim0123alim%%alim.
..alim222.. .. .. &&alim
(Alim)(Alim)(Alim)
(Alim) (Alim)()``````
Output:

Code: Select all

``````1
3
2
5
3
2``````
Fri Feb 15, 2013 9:15 am
Forum: Volume 3 (300-399)
Topic: 371 - Ackermann Functions
Replies: 196
Views: 28989

### Re: 371 - Ackermann Functions... Why WA????

The only tricky test case for this problem is
Input:

Code: Select all

``1 2``
Output:

Code: Select all

``Between 1 and 2, 1 generates the longest sequence of 3 values.``
Sun Jan 06, 2013 10:00 am
Forum: Volume 113 (11300-11399)
Topic: 11371 - Number Theory for Newbies
Replies: 65
Views: 23016

### Re: 11371 - Number Theory for Newbies

Input: 100102 1 3 12300 100 147020 1990 199 5501 1293 400 Output: 211000 - 100012 = 110988 = 9 * 12332 1 - 1 = 0 = 9 * 0 3 - 3 = 0 = 9 * 0 32100 - 10023 = 22077 = 9 * 2453 100 - 100 = 0 = 9 * 0 742100 - 100247 = 641853 = 9 * 71317 9910 - 1099 = 8811 = 9 * 979 991 - 199 = 792 = 9 * 88 5510 - 1055 = 4...
Sun Jan 06, 2013 9:37 am
Forum: Volume 125 (12500-12599)
Topic: 12578 - 10:6:2
Replies: 16
Views: 2521

### Re: 12578 - 10:6:2

Input:

Code: Select all

``````10
33
10
20
30
40
50
60
70
80
97``````
Output:

Code: Select all

``````136.85 516.55
12.57 47.43
50.27 189.73
113.10 426.90
201.06 758.94
314.16 1185.84
452.39 1707.61
615.75 2324.25
804.25 3035.75
1182.37 4463.03``````
Tue Jan 01, 2013 10:27 pm
Forum: Volume 1 (100-199)
Topic: 190 - Circle Through Three Points
Replies: 126
Views: 20504

### Re: 190 WA Help plz

This is very easy problem...Just follow the process... (1)try to make three equation with three coordinates. (2)then try to find the value of unknown three variables with the process of determinant. (3)be careful what the statement says "Plus, minus, and equal signs must be separated from the adjac...
Tue Jan 01, 2013 10:09 pm
Forum: Volume 4 (400-499)
Topic: 438 - The Circumference of the Circle
Replies: 29
Views: 9454

### Re: 438 - The Circumference of the Circle

Input:

Code: Select all

``````-1.0 -1.0 -1.0 7.0 5.0 12.0
0.0 -50.0 50.0 50.0 0.0 0.0
2.0 56.0 41.0 28.0 23.0 91.0``````
Output:

Code: Select all

``````58.55
496.73
206.54``````
Tue Jan 01, 2013 5:53 pm
Forum: Volume 102 (10200-10299)
Topic: 10281 - Average Speed
Replies: 39
Views: 15075

### Re: 10281 - Average Speed

Critical Input

Input:

Code: Select all

``````00:00:01 100
00:15:01
00:30:01
01:00:01 0
03:00:01
03:00:05 140``````
Output:

Code: Select all

``````00:15:01 25.00 km
00:30:01 50.00 km
03:00:01 100.00 km``````
Tue Dec 18, 2012 7:22 pm
Forum: Volume 3 (300-399)
Topic: 336 - A Node Too Far
Replies: 121
Views: 40574

### Re: 336 WA

Input 2 1 1 1 2 1 1 0 0 0 Correct output: Case 1: 0 nodes not reachable from node 1 with TTL = 1. Now my code gives Correct Answer for this input...But again WA......Please help My edited code is #include<cstdio> #include<iostream> #include<vector> #include<stack> #include<queue> #include<map> #inc...
Tue Dec 18, 2012 1:31 pm
Forum: Volume 125 (12500-12599)
Topic: 12554 - A Special "Happy Birthday" Song!!!
Replies: 2
Views: 2191

### Re: 12554 - A Special "Happy Birthday" Song!!!

Sample Input 18 shipu alim barid sufian joshim leo mahbub jalil sunny liza archi naji sohel sumon rimi prianka anika jebu Sample Output shipu: Happy alim: birthday barid: to sufian: you joshim: Happy leo: birthday mahbub: to jalil: you sunny: Happy liza: birthday archi: to naji: Rujia sohel: Happy ...
Tue Dec 18, 2012 10:08 am
Forum: Volume 108 (10800-10899)
Topic: 10815 - Andy's First Dictionary
Replies: 116
Views: 31114

### Re: Getting WA in 10815 - Andy's First Dictionary

Code: Select all

``Cut After Accepted``