## Search found 66 matches

Tue Sep 16, 2014 12:33 pm
Forum: Volume 113 (11300-11399)
Topic: 11352 - Crazy King
Replies: 32
Views: 12186

### Re: 11352 - Crazy King

@SONNET_N try this case

Code: Select all

``````Sample Input:
1
5 3
...
Z..
Z..
Z.B
..A

Sample Output:
Minimal possible length of a trip is 1
``````
Fri Feb 07, 2014 11:52 pm
Forum: Volume 109 (10900-10999)
Topic: 10925 - Krakovia
Replies: 50
Views: 21765

### Re: 10925 - Krakovia

Thanks DD, EDIT complet
Sun Feb 02, 2014 11:18 pm
Forum: Volume 9 (900-999)
Topic: 914 - Jumping Champion
Replies: 37
Views: 17619

### Re: 914 - Jumping Champion

For those who got continuously wrong answer

Code: Select all

``````Sample Input:
1
8 10

Ac output:
No jumping champion
``````
Tue Jan 28, 2014 10:35 pm
Forum: Volume 125 (12500-12599)
Topic: 12599 - Black and White
Replies: 5
Views: 1130

### Re: Getting PE in problem 12599

I got continuously PE but not understand why... Help anyone please... My code: #include <stdio.h> #include <string.h> int main() { int T, k, len, j, i, mark, b, w, res[ 5010 ], a, c; char ch[ 10010 ]; scanf("%d", &T); getchar(); while(T--) { mark = 1; gets( ch ); k = 0; len = strlen( ch ); for(i = 0...
Sat Jan 25, 2014 5:32 pm
Forum: Volume 101 (10100-10199)
Topic: 10198 - Counting
Replies: 30
Views: 15031

### Re: 10198 - Counting

Big Integer :D Sample Input: 1000 Ac Output: 78048661677573853517262981677495799469644058502252545391326824727949818697450405 37197592219996231328486687877730240352396489040560067523395940725030942516170568 23473818212763523462465577553124443843711825354225536592348622125317245620393318 928398568911...
Thu Nov 21, 2013 8:13 pm
Forum: Volume 4 (400-499)
Topic: 459 - Graph Connectivity
Replies: 132
Views: 25412

### Re: uva 459

@raihan.sust try this input:

Code: Select all

``````1

E
AB
``````

Code: Select all

``````so the graph is
A -> B
C
D
E``````
So what should be the result
Mon Nov 04, 2013 11:56 am
Forum: Volume 104 (10400-10499)
Topic: 10487 - Closest Sums
Replies: 89
Views: 30467

### Re: 10487 - Closest Sums

MAHADE_HASAN Try this input:
Input:

Code: Select all

``````
3
6
5
4
1
111
``````
Tue Oct 22, 2013 5:19 pm
Forum: Volume 4 (400-499)
Topic: 469 - Wetlands of Florida
Replies: 63
Views: 21491

### Re: Wetlands Of Florida - 469

@triplemzim
1

LLLLLLLLL
LLWWLLWLL
LWWLLLLLL
LWWWLWWLL
LLLWWWLLL
LLLLLLLLL
LLLWWLLWL
LLWLWLLLL
LLLLLLLLL
3 2 (press enter and you will get result)
7 5 (press enter and you will get result)
(press enter and your input is terminated)
Tue Oct 08, 2013 12:27 am
Forum: Volume 112 (11200-11299)
Topic: 11220 - Decoding the message.
Replies: 54
Views: 20775

### Re: 11220 - Decoding the message

@xtranger991 look this input and try it in your code, then you may be find why your code give the wrong answer
Sample input:

Code: Select all

``````2

Hey good lawyer
as I previously previewed
yam does a soup(and 4 space)

``````
Mon Oct 07, 2013 11:25 pm
Forum: Volume 112 (11200-11299)
Topic: 11220 - Decoding the message.
Replies: 54
Views: 20775

### Re: 11220 - Decoding the message

xtranger991 try it

Code: Select all

``````scan test case
enter
enter
scan input and print output ( input is terminated when input is only a new line )
scan input and print output ( input is terminated when input is only a new line )
.......
.......
``````
Sun Oct 06, 2013 9:55 pm
Forum: Volume 125 (12500-12599)
Topic: 12532 - Interval Product
Replies: 8
Views: 2225

### Re: 12532 - Interval Product TLE

Mon Sep 30, 2013 2:29 pm
Forum: Volume 104 (10400-10499)
Topic: 10424 - Love Calculator
Replies: 137
Views: 39782

### Re: 10424 - Love Calculator

Try this Input:

Code: Select all

``````EE
E ``````
Tue Sep 24, 2013 1:15 am
Forum: Volume 7 (700-799)
Topic: 711 - Dividing up
Replies: 25
Views: 11818

### Re: 711 - Dividing up

Why got wa, my code give the right answer for all forum input, anyone help My code #include <stdio.h> #include <string.h> using namespace std; int istrue(int p, int half, int take); int tot, in[ 7 ], dp[ 7 ][ 60003 ]; bool ck; int main() { //freopen("in.txt", "w", stdout); int i, a, b, c, d, e, f, k...
Mon Sep 16, 2013 7:14 pm
Forum: Volume 116 (11600-11699)
Topic: 11624 - Fire!
Replies: 54
Views: 14870

### Re: 11624 - Fire!

Input:
2
1 5
FFJFF
2 5
FFJFF
FFFFF

Ac output:
1
1

IMPOSSIBLE
IMPOSSIBLE
Mon Sep 16, 2013 6:33 pm
Forum: Volume 116 (11600-11699)
Topic: 11624 - Fire!
Replies: 54
Views: 14870

Sample Input:
1
1 1
J