Search found 66 matches

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

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
by shuvokr
Fri Feb 07, 2014 11:52 pm
Forum: Volume 109 (10900-10999)
Topic: 10925 - Krakovia
Replies: 50
Views: 21585

Re: 10925 - Krakovia

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

Re: 914 - Jumping Champion

For those who got continuously wrong answer :D

Code: Select all

Sample Input:
1
8 10

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

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...
by shuvokr
Sat Jan 25, 2014 5:32 pm
Forum: Volume 101 (10100-10199)
Topic: 10198 - Counting
Replies: 30
Views: 14351

Re: 10198 - Counting

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

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
by shuvokr
Mon Nov 04, 2013 11:56 am
Forum: Volume 104 (10400-10499)
Topic: 10487 - Closest Sums
Replies: 89
Views: 30097

Re: 10487 - Closest Sums

MAHADE_HASAN Try this input:
Input:

Code: Select all


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

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)
by shuvokr
Tue Oct 08, 2013 12:27 am
Forum: Volume 112 (11200-11299)
Topic: 11220 - Decoding the message.
Replies: 54
Views: 20547

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)    

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

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 )
.......
.......
by shuvokr
Sun Oct 06, 2013 9:55 pm
Forum: Volume 125 (12500-12599)
Topic: 12532 - Interval Product
Replies: 8
Views: 2175

Re: 12532 - Interval Product TLE

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

Re: 10424 - Love Calculator

Try this Input:

Code: Select all

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

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...
by shuvokr
Mon Sep 16, 2013 7:14 pm
Forum: Volume 116 (11600-11699)
Topic: 11624 - Fire!
Replies: 54
Views: 14544

Re: 11624 - Fire!

Input:
2
1 5
FFJFF
2 5
FFJFF
FFFFF

Ac output:
1
1

Your code's output:
IMPOSSIBLE
IMPOSSIBLE
by shuvokr
Mon Sep 16, 2013 6:33 pm
Forum: Volume 116 (11600-11699)
Topic: 11624 - Fire!
Replies: 54
Views: 14544

Re: 11624 - Fire!

Sample Input:
1
1 1
J

Your code's output:
IMPOSSIBLE
Is it right ? :D

Ac output:
1

Go to advanced search