Search found 5 matches

Fri Sep 10, 2004 3:10 pm
Forum: Volume 4 (400-499)
Topic: 406 - Prime Cuts
Replies: 187
Views: 29237
This input:

Code: Select all

``1 2``
should give you

Code: Select all

``1 2: 1``

Code: Select all

``1 2: 1 2``

By the way, my programm passes all the tests posted here, but still gets WA after 0.342. Any hints? Maybe I could send the code to someone to check it out?

[EDIT]
Doesn't matter, just got AC.
Thu Apr 29, 2004 12:34 pm
Forum: Volume 1 (100-199)
Topic: 128 - Software CRC
Replies: 62
Views: 8876
Can someone explain the "generating CRC - for dummies" algorithm? I can't understand it. :|
Tue Feb 17, 2004 12:03 pm
Forum: Volume 106 (10600-10699)
Replies: 11
Views: 7227
Can you please explain me the way of receiving cross-products? I don't understand it.
Thu Jan 15, 2004 5:24 pm
Forum: Algorithms
Topic: Help to find number of swap operation need to sort data
Replies: 17
Views: 6400
CDiMa wrote:
titid_gede wrote:how's about 5 4 3 2 1?
what is cyclic representation?
is it (2 1 4 5) (3) or what?
(1 5) (2 4) (3)
Is it good way to solve it?
(2-1)+(2-1)+(1-1)=2
...but the correct answer should be 0, right?
Sat Jan 10, 2004 11:01 am
Forum: Volume 3 (300-399)
Topic: 353 - Pesky Palindromes
Replies: 43
Views: 13578
Question: If I have only 1 palindrome as my output should I print: 1. The string 'a' contains 1 palindrome. -or- 2. The string 'a' contains 1 palindromes. BTW, if you can post here some complex tests I'd be grateful. My programm gets WA, but I don't know what's wrong with it. All test cases that I w...