This input helped me figure out the solution.
1 1 1 10 10
2 1 1 10 10
5 3 18 10 46
100 50 50 69 69
0 2 3 4 5
Expected output:
Case 1:
aaaaaaaaaa
aaaaaaaaaa
aaaaaaaaaa
aaaaaaaaaa
aaaaaaaaaa
aaaaaaaaaa
aaaaaaaaaa
aaaaaaaaaa
aaaaaaaaaa
aaaaaaaaaa
Case 2:
abbabbabba
b..b..b..b
b..b..b..b ...
Search found 7 matches
- Sun Feb 21, 2016 10:45 am
- Forum: Volume 121 (12100-12199)
- Topic: 12155 - ASCII Diamondi
- Replies: 2
- Views: 4882
- Wed Feb 17, 2016 4:55 am
- Forum: Volume 108 (10800-10899)
- Topic: 10854 - Number of Paths
- Replies: 25
- Views: 13384
Re: 10854 - Number of Paths
Got it accepted. The following case was helpful in debugging:
Output is
Code: Select all
1
IF
ELSE
END_IF
S
S
S
IF
ELSE
IF
ELSE
END_IF
IF
ELSE
END_IF
S
S
S
S
S
IF
ELSE
END_IF
END_IF
ENDPROGRAM
Code: Select all
18
- Wed Feb 17, 2016 1:26 am
- Forum: Volume 108 (10800-10899)
- Topic: 10854 - Number of Paths
- Replies: 25
- Views: 13384
Re: 10854 - Number of Paths
Does anybody have other valuable inputs? My code passes all the inputs in this topic, but still getting WA.
- Mon Dec 06, 2010 8:39 pm
- Forum: Volume 118 (11800-11899)
- Topic: 11805 - Bafana Bafana
- Replies: 23
- Views: 12277
Re: 11805 - Bafana Bafana
Thanks!
It was a silly mistake.
Got Accepted.
It was a silly mistake.
Got Accepted.
- Sat Nov 27, 2010 2:49 am
- Forum: Volume 118 (11800-11899)
- Topic: 11805 - Bafana Bafana
- Replies: 23
- Views: 12277
- Fri Nov 05, 2010 6:53 pm
- Forum: Volume 6 (600-699)
- Topic: 624 - CD
- Replies: 77
- Views: 46360
Re: 624 - CD
Hello guys,
I've searched on all inputs and outputs available here. My code seems to work on all of them, but I still get RE. Can you guys help me?
I'm using 0/1 knapsack.
Thank you very much
#include <cstdio>
#include <algorithm>
#define MAX 20000
using namespace std;
long long tracks[MAX ...
I've searched on all inputs and outputs available here. My code seems to work on all of them, but I still get RE. Can you guys help me?
I'm using 0/1 knapsack.
Thank you very much
#include <cstdio>
#include <algorithm>
#define MAX 20000
using namespace std;
long long tracks[MAX ...
- Mon Jun 08, 2009 11:29 pm
- Forum: Volume 109 (10900-10999)
- Topic: 10991 - Region
- Replies: 17
- Views: 11022
Re: 10991 - Region
Hello guys. I've read all posts and done exclaty what I think you said, but I still can't figure out what's wrong with my code. I'd be glad you someone could help me (variable names are in Porguese, but I still think you guys can figure out what I'm doing. Sorry for that).
import java.io ...
import java.io ...