Search found 22 matches
- Mon Oct 01, 2007 4:21 pm
- Forum: Volume 113 (11300-11399)
- Topic: 11302 - Hexadecimal Digits of an Integral
- Replies: 10
- Views: 3083
- Mon Oct 01, 2007 3:20 pm
- Forum: Volume 113 (11300-11399)
- Topic: 11302 - Hexadecimal Digits of an Integral
- Replies: 10
- Views: 3083
- Mon Oct 01, 2007 2:55 pm
- Forum: Volume 112 (11200-11299)
- Topic: 11299 - Separating Rods
- Replies: 5
- Views: 2530
- Sat Dec 03, 2005 3:27 am
- Forum: Volume 109 (10900-10999)
- Topic: 10975 - Dueue's Quiz
- Replies: 39
- Views: 18258
My Guess is some input like:
Code: Select all
3 3
aaa
bbb
ccc
aaa
bbb
ccc
- Sat Dec 03, 2005 2:53 am
- Forum: Volume 109 (10900-10999)
- Topic: 10975 - Dueue's Quiz
- Replies: 39
- Views: 18258
- Wed Nov 23, 2005 8:10 pm
- Forum: Volume 109 (10900-10999)
- Topic: 10975 - Dueue's Quiz
- Replies: 39
- Views: 18258
Dont know whats wrong with input yet. But this simple input checker gets tle :-) #include <iostream> #include <string> using namespace std; string s; char c; int t,d,q,m,n,i,j; int main() { cin >> t; while(t--) { cin >> d; while(d--) { cin >> s; } cin >> q; while(q--) { cin >> m >> n; cin.get(); whi...
- Wed Nov 23, 2005 4:33 am
- Forum: Volume 109 (10900-10999)
- Topic: 10941 - Words adjustment
- Replies: 19
- Views: 6600
- Wed Nov 23, 2005 4:27 am
- Forum: Volume 109 (10900-10999)
- Topic: 10975 - Dueue's Quiz
- Replies: 39
- Views: 18258
- Thu Nov 17, 2005 7:07 pm
- Forum: Volume 109 (10900-10999)
- Topic: 10962 - Don Giovanni's Last Dinner
- Replies: 15
- Views: 6090
- Mon Oct 31, 2005 3:02 am
- Forum: Volume 109 (10900-10999)
- Topic: 10954 - Add All
- Replies: 80
- Views: 30677
- Tue Oct 25, 2005 3:13 pm
- Forum: Volume 109 (10900-10999)
- Topic: 10946 - You want what filled?
- Replies: 38
- Views: 19393
- Sat Oct 22, 2005 4:21 pm
- Forum: Volume 109 (10900-10999)
- Topic: 10947 - Bear with me, again..
- Replies: 23
- Views: 3568
Thnx mjf ... 0.150 seconds after that without using optimized io :-) Official solution uses a non-logical algorithm, that says that you can't go from one island to another if they overlap. We're going to change the input, so that no 2 islands intersect. And a negative island number is logical? ... 0...
- Thu Oct 20, 2005 8:30 pm
- Forum: Volume 109 (10900-10999)
- Topic: 10941 - Words adjustment
- Replies: 19
- Views: 6600
- Thu Oct 20, 2005 6:41 pm
- Forum: Volume 109 (10900-10999)
- Topic: 10930 - A-Sequence
- Replies: 102
- Views: 37283
- Mon May 30, 2005 9:54 pm
- Forum: Volume 108 (10800-10899)
- Topic: 10854 - Number of Paths
- Replies: 25
- Views: 9817
The correct answer is 81. Lets take this simple Programm to show you the idea: IF ELSE END_IF IF ELSE END_IF IF ELSE END_IF ENDPROGRAM Here all IF-Conditions can be true, short: TTT Or the first two are true and the third false, short: TTF And so on to FFF So at all there are 2*2*2=8 possibilities. ...