Hello There, Guest!
View New Posts  |  View Today's Posts
Challenge #25 - Ace's NUTCracker Challenge

  • 0 Vote(s) - 0 Average


01-19-2012, 01:45 AM #21
Holmes.Sherlock
Senior Member
***
Posts: 370 Threads:46 Joined: Oct 2011 Reputation: 7

RE: Challenge #25 - Ace's NUTCracker Challenge
(01-19-2012, 01:18 AM)AceInfinity Wrote:  Yeah lol, anything over 5 dramatically increases the # of possibilities I can imagine. If you read through all my posts in this thread though you should be able to find the password based on what i've said though :) I practically gave the password away between the posts i've made haha.
That is not the point as I have already got the key from the hints.

01-19-2012, 02:08 AM #22
AceInfinity
Developer
*******
Administrators
Posts: 9,733 Threads:1,026 Joined: Jun 2011 Reputation: 76

RE: Challenge #25 - Ace's NUTCracker Challenge
(01-19-2012, 01:45 AM)Holmes.Sherlock Wrote:  
(01-19-2012, 01:18 AM)AceInfinity Wrote:  Yeah lol, anything over 5 dramatically increases the # of possibilities I can imagine. If you read through all my posts in this thread though you should be able to find the password based on what i've said though :) I practically gave the password away between the posts i've made haha.
That is not the point as I have already got the key from the hints.

Yeah lol, I did mention that as well :) But as long as someone understands what i've posted, the key is pretty easy to find!

Laugh

Maybe it was required as this program is not as easy to solve without reverse engineering
This post was last modified: 01-19-2012, 02:10 AM by AceInfinity.


Microsoft MVP .NET Programming - (2012 - Present)
®Crestron DMC-T Certified Automation Programmer

Development Site: aceinfinity.net

 ▲
 ▲ ▲

01-19-2012, 03:59 AM #23
AceInfinity
Developer
*******
Administrators
Posts: 9,733 Threads:1,026 Joined: Jun 2011 Reputation: 76

RE: Challenge #25 - Ace's NUTCracker Challenge
Thanks to IceCube's generosity, he's compiled a Linux binary for my program, and i'll be adding it to the challenge download as well!

Be sure to thank him for his contribution :)


Microsoft MVP .NET Programming - (2012 - Present)
®Crestron DMC-T Certified Automation Programmer

Development Site: aceinfinity.net

 ▲
 ▲ ▲

01-19-2012, 07:57 AM #24
Holmes.Sherlock
Senior Member
***
Posts: 370 Threads:46 Joined: Oct 2011 Reputation: 7

RE: Challenge #25 - Ace's NUTCracker Challenge
(01-19-2012, 03:59 AM)AceInfinity Wrote:  Thanks to IceCube's generosity, he's compiled a Linux binary for my program, and i'll be adding it to the challenge download as well!

Be sure to thank him for his contribution :)
Thank you Icecube for your spontaneous contribution.



02-14-2012, 04:16 PM #25
bobdynlan
Junior Member
**
Posts: 3 Threads:0 Joined: Feb 2012 Reputation: 0

Wink  RE: Challenge #25 - Ace's NUTCracker Challenge
The idea was nice, even if it had millions of solutions (over 18873 by just limiting the poll with only distinct ASCII codes from 81 to 116: AceQRSTWYq, AceQaikrs, AceReflos, AceSadlst, AceTVlnst, Acebefhim... just to name a few).
The fix posted ruined that by revealing both parts in plain text. 9 out of 10 people should try out the obvious...
How about something like:
Code:
...
        std::string str_;
        int val_ = 0, val2_ = 0;

        wchar_t w_;
        unsigned short int x = 0;
        for (x = 0; x < strlen(chr_a); x++)
        {
                w_ = chr_a[x];
                if (x < 3)
                {
                        str_ += w_;
                } else {
                        val_ += w_;
                        val2_ -= (x % 2 == 0) ? w_ : -w_;
                }
        }

        std::stringstream stream_;
        stream_ << str_ << val_ + int(val2_/2);

        if (stream_.str() == "Ace601")
...
src
Now the challenge would be to find out if its enough to limit the solution to one result Whistle
[edit:halving was not enough :D]
This post was last modified: 02-14-2012, 05:14 PM by bobdynlan.

02-14-2012, 06:22 PM #26
AceInfinity
Developer
*******
Administrators
Posts: 9,733 Threads:1,026 Joined: Jun 2011 Reputation: 76

RE: Challenge #25 - Ace's NUTCracker Challenge
(02-14-2012, 04:16 PM)bobdynlan Wrote:  The idea was nice, even if it had millions of solutions (over 18873 by just limiting the poll with only distinct ASCII codes from 81 to 116: AceQRSTWYq, AceQaikrs, AceReflos, AceSadlst, AceTVlnst, Acebefhim... just to name a few).
The fix posted ruined that by revealing both parts in plain text. 9 out of 10 people should try out the obvious...
How about something like:
Code:
...
        std::string str_;
        int val_ = 0, val2_ = 0;

        wchar_t w_;
        unsigned short int x = 0;
        for (x = 0; x < strlen(chr_a); x++)
        {
                w_ = chr_a[x];
                if (x < 3)
                {
                        str_ += w_;
                } else {
                        val_ += w_;
                        val2_ -= (x % 2 == 0) ? w_ : -w_;
                }
        }

        std::stringstream stream_;
        stream_ << str_ << val_ + int(val2_/2);

        if (stream_.str() == "Ace601")
...
src
Now the challenge would be to find out if its enough to limit the solution to one result Whistle
[edit:halving was not enough :D]

I had already fixed it in my updated version.



So I don't think those answers you've posted work
This post was last modified: 02-14-2012, 06:24 PM by AceInfinity.


Microsoft MVP .NET Programming - (2012 - Present)
®Crestron DMC-T Certified Automation Programmer

Development Site: aceinfinity.net

 ▲
 ▲ ▲

02-14-2012, 07:51 PM #27
bobdynlan
Junior Member
**
Posts: 3 Threads:0 Joined: Feb 2012 Reputation: 0

RE: Challenge #25 - Ace's NUTCracker Challenge
To reiterate:
Those alternative solutions apply to the original which I suspect it only differs in && str2_ == "Reboot".
That difference, altrough it fixes the error, makes it far worst than the original in terms of... challenge.
I've only wanted to restore that to it...


You did not even bothered to read those lines of code change.




02-15-2012, 01:28 AM #28
AceInfinity
Developer
*******
Administrators
Posts: 9,733 Threads:1,026 Joined: Jun 2011 Reputation: 76

RE: Challenge #25 - Ace's NUTCracker Challenge
(02-14-2012, 07:51 PM)bobdynlan Wrote:  To reiterate:
Those alternative solutions apply to the original which I suspect it only differs in && str2_ == "Reboot".
That difference, altrough it fixes the error, makes it far worst than the original in terms of... challenge.
I've only wanted to restore that to it...


You did not even bothered to read those lines of code change.

Because i've already posted this challenge some time ago, if I were to change it, how does that make it "fair" for any new attempts on this particular challenge? If you want to create a challenge, post one :)

There's absolutely no sense in changing the one that already exists halfway through when people have already solved it. New people aren't attempting to solve the same challenge if I change it drastically, so even the new patch was just a quick fix.
This post was last modified: 02-15-2012, 01:29 AM by AceInfinity.


Microsoft MVP .NET Programming - (2012 - Present)
®Crestron DMC-T Certified Automation Programmer

Development Site: aceinfinity.net

 ▲
 ▲ ▲

02-19-2012, 09:11 AM #29
Madtrick
Junior Member
**
Posts: 10 Threads:1 Joined: Feb 2012 Reputation: 0

RE: Challenge #25 - Ace's NUTCracker Challenge
this challenge is Amazing :)




Forum Jump:


Possibly Related Threads...
Thread Author Replies Views Last Post
  Challenge #28 - A Bashing Challenge Holmes.Sherlock 1 3,864 01-31-2015, 01:57 PM
Last Post: Holmes.Sherlock
  Challenge #27: Addition PPC Icecube 17 10,728 10-31-2013, 09:25 AM
Last Post: AceInfinity
  Challenge #26: Sudoku ppc Florin 16 8,878 08-14-2013, 03:47 PM
Last Post: AceInfinity
  [Question] Quick Google Challenge! Don't cheat! Florin 9 6,043 07-28-2012, 01:09 AM
Last Post: Florin
  Challenge #13 - Can you find the key? AceInfinity 3 2,904 05-17-2012, 08:05 PM
Last Post: AceInfinity


Users browsing this thread: 1 Guest(s)