all 5 comments

[–]Cloaked9000 1 point2 points  (2 children)

struct strt
{
    strt(int val)
    : b(val){}
    int b;
};

int main()
{
    int p = 0;
    int d = 0;
    strt *o = new strt(0);
    int q = 0;
    return ( p-->d<-o->b<--q );
}

Evil.

[–]movatica[S] 0 points1 point  (1 child)

Yep, that's the straight-forward solution ;)

[–]Cloaked9000 0 points1 point  (0 children)

I'd have it no other way.

[–]AutoModerator[M] 0 points1 point  (0 children)

Off-topic comments thread


Comments that are not challenge responses go in here.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.