Page 1 of 7

Programming 12

PostPosted: Fri Jan 23, 2009 4:15 pm
by Tiak
Two quick things:
1) Can anybody confirm that it is in fact working.
2) The instructions suck, if it currently does work, can someone please clarify?...
"concatenate by the product of all added composite numbers by all added primes. (disregard 0's and 1's entirely)"

It refers to summing numbers, without explaining what numbers these are... Are they...
-All individual digits in the original string?
-All continuous sequences of digits in the original string?
-All byte values in the original string?
-All byte values in the string after incrementing?
-"All added composite numbers and all added primes"? (These numbers both being infinite)
-something else?

We currently have some conflicting evidence for choosing the correct interpretation:
-The example solution's product has 9 digits. Of these, this is only possible for the 3rd and 4th interpretations.
-One is told to disregard 0's and 1's, this is meaningless for my 3rd and 4th interpretations.
-Earlier, "everything that isn't a number" is mentioned, suggesting one of the first two interpretations.

I'm leaning towards the "something else" if is supposed to be working, because I quickly attempted all of these and a few more without any success... This is a prog mission, not a logic or stego mission, so the instructions should be at least a little clear.

Re: Programming 12

PostPosted: Fri Jan 23, 2009 4:16 pm
by TheMindRapist
Individual digits, yeah the description sucks, and the previous one was worse.
Edit: Description has been updated

Re: Programming 12

PostPosted: Fri Jan 23, 2009 9:59 pm
by eljonto
I reackon this mission should be rated easy not moderate- but anyway ive done it but i cant submit it because i did it in perl and i still havn't worked out a way to submit. It took me a hour of playing around to even send phpsessid in my headers with perls LWP module and making a post request with the 'solution'=>'answer' doesn't seem to work blurgh. if only it was as simple as python urllib and urllib2 libraries...

Re: Programming 12

PostPosted: Sat Jan 24, 2009 8:28 am
by lolobip
This one is much like prog 11 in terms of do-ability, personally I did it in php (and afterwards javascipt), but I had to fasten my ctrl+a, ctrl +c, ctrl+v :P

Re: Programming 12

PostPosted: Sat Jan 24, 2009 5:24 pm
by eljonto
lol ye i tried that, didn't work great- although i did find a way of getting text to the clipborad from perl,so i might try something like that. as for prog11 i did that in python so getting it and submitting it was a lot simpler

##EDIT: Lol got it- i was loosing valuable .3 of a second by click, ctrl-a, ctrlc when i could just go click ctrl-ctrl-c XD

Re: Programming 12

PostPosted: Thu Jan 29, 2009 6:24 pm
by ratcateme
did this mission last night in php. i never saw the old description but with the current one i was able to code the main script part in like 10 mins not very hard at all took me like 30 mins to setup all the curl requests to login and then submit the answer but i defiantly think it should be downgraded to a easy not a medium

Scott.

Re: Programming 12

PostPosted: Thu Jan 29, 2009 8:13 pm
by eljonto
Yea- even with the old description when i did it-i admit i had to read the description a few timesto fully understand what to do,but coding it only took a couple of mins- that hardest part of prog11, prog12 etc is submitting the answer from the script in my opinion :P

Re: Programming 12

PostPosted: Fri Jan 30, 2009 8:34 am
by BhaaL
Both 11 and 12 are possible without writing a Socket-client that logs in and submits the answer 8-)

Re: Programming 12

PostPosted: Fri Jan 30, 2009 5:51 pm
by eljonto
Both 11 and 12 are possible without writing a Socket-client that logs in and submits the answer


I didn't get the script to login, i just got my current phpsessid and sent that with the headers, although i woud like to find out a different way to submit them if it's not too spoilerish for the forum 8-)

Re: Programming 12

PostPosted: Sat Jan 31, 2009 7:53 am
by lolobip
Other way -> Basic ten like approach :)