[VicPiMakers Projects] Challenge 1 Final
Mark G.
vpm at palaceofretention.ca
Thu Oct 29 14:37:09 PDT 2020
My spellcheck variant worked fine on #10 without needing
the plaintext (all other tests OK):
mv at think:~/dev/vicpi/coding/challenge/01/build$ ../bin/bb
Input: 101, 58, 75, 110, 35, 91, 79, 111, 35, 88, 34, 58
Output #1: Sum: 875
Output #2: Average (quotient), remainder: 72, 11
Output #3: Even numbers: , 58, 110, 88, 34, 58
Output #4: Min, at: 34, 11
Output #5: Repeats: 4, 35, 35, 58, 58
Output #6: Short int (16 bits): 25914
Output #7: Sorted: 34, 35, 35, 58, 58, 75, 79, 88, 91, 101, 110, 111
Output #8: e:Kn#[Oo#X": (sorted: "##::KOX[eno)
Output #9: EKNOOX
Output #10: Key: 25
On 2020-10-29 5:44 a.m., Greg H wrote:
> Thanks Jim!
>
> Mine seems to be working ...
>
> $ jims_challenge.py "101,58,75,110,35,91,79,111,35,88,34,58"
> Output #1: 875
> Output #2: 72,11
> Output #3: 58,110,88,34,58
> Output #4: 34,11
> Output #5: 4,35,35,58,58
> Output #6: 25914
> Output #7: 34,35,35,58,58,75,79,88,91,101,110,111
> Output #8: e:Kn#[Oo#X":
> Output #9: EKNOOX
> Output #10: 25
> ** caesar decoded string = FLOPPY
>
> Note - In my case for the caesar cypher, I went the other way. Given the
> encrypted string and key, determine the output. So I had to adjust the
> internal constant to 25 to reveal "FLOPPY".
>
> Cheers,
> Greg
>
> On Wed, 28 Oct 2020 at 22:54, James Briante <briantej at gmail.com
> <mailto:briantej at gmail.com>> wrote:
>
> Hi All,
> Please find attached *Challenge 1Final.pdf*. Run your program using
> the test input data shown and see how you did.
>
> Thanks for all your comments and support.
>
> Jim
>
> --
> Projects mailing list
> Projects at vicpimakers.ca <mailto:Projects at vicpimakers.ca>
> http://vicpimakers.ca/mailman/listinfo/projects_vicpimakers.ca
>
>
More information about the Projects
mailing list