Beginners Brevity Contest: BUZZ

Online C++ programming contests.

Moderators: Darobat, RecursiveS, Dante Shamest, Bugdude, Wizard, raimo

Postby Safari » Fri Sep 16, 2005 11:54 am

lol, nice ;)

Now, If we are counting these tokens as well:

[syntax="cpp"]#include <string>
class player
{
public:
virtual std::string init(int player_position, int num_of_players)=0;
virtual std::string respond(std::string last_response)=0;
}; [/syntax]

I'm at 174, else 133. 22 to go :o :roll:
User avatar
Safari
 
Posts: 1362
Joined: Sun Sep 19, 2004 11:07 am

Postby Alvaro » Fri Sep 16, 2005 12:51 pm

Safari wrote:I'm at 174, else 133. 22 to go :o :roll:

You are at 133. But you have 27 to go. :twisted:
User avatar
Alvaro
Moderator
 
Posts: 5185
Joined: Mon Sep 22, 2003 4:57 pm
Location: NY, USA

Postby Darryl » Fri Sep 16, 2005 1:05 pm

RITZ wrote:Was that even mentioned previously? It isn't named last_answer. It's last_responce infering that it is the responce from the person before you. I missed where it said the game would start over if someone screwed up... that doesn't even seem to abide to the real game. If someone screws up in the real game everyone drinks and you keep going. I can't imagine the game starting over each time you drink.... :roll:


As far as the real game goes, when I used to play it, we started over and only the person messing up drank, which unfortunately ( or fortunately) sent that player on an express trip to pay homage to the porcelan god :wtf: Oh god, what was I thinking, oh god help me, oh god if I get through this I'll never drink again.

But I do admit the last_response vs last_answer would be confusing outside the fact that the game starts over. When I originally planned this I was going to have the players "referee" each other, but then I decided to keep it simple so maybe that's where my choice of names came from.

@ Corsix, I'll be sure your include is first.
@safari, it's a pity your class and the compiler has no clue about the framework when your class is compiled, even a forward declaration wouldn't help because you'd still have no way of attaching the pointer to the instantiated framework
User avatar
Darryl
 
Posts: 1342
Joined: Wed Sep 01, 2004 10:50 am
Location: Cayman Islands

Postby Corsix » Fri Sep 16, 2005 1:08 pm

Alvaro wrote:
Safari wrote:I'm at 174, else 133. 22 to go :o :roll:

You are at 133. But you have 27 to go. :twisted:
But that would mean that you are at 106...

ARG :biggun:
Code: Select all
#include <stdio.h>
char*_="XxTIHRCXCxTIHRXRCxTIHXHRCxTIXIHRCxTXTIHRCxXxTIHRCX";
int main(int l){for(l+=7;l!=putchar(010);++l);if(*(++_))main
(*_!=88?(putchar(*_^073)|putchar(33))&1:0xffff2a8b);}
User avatar
Corsix
 
Posts: 1181
Joined: Fri Jul 23, 2004 9:33 am
Location: Berkeley, UK

Postby Safari » Fri Sep 16, 2005 1:11 pm

Darryl wrote:@safari, it's a pity your class and the compiler has no clue about the framework when your class is compiled, even a forward declaration wouldn't help because you'd still have no way of attaching the pointer to the instantiated framework

In english please :oops:
User avatar
Safari
 
Posts: 1362
Joined: Sun Sep 19, 2004 11:07 am

Postby Safari » Fri Sep 16, 2005 2:04 pm

Arrghh! Mine didn't work :x It returned "buzzzzz dear, buy me another bearrrr" :p

Well, this gives me a chanse to make it better. :)
User avatar
Safari
 
Posts: 1362
Joined: Sun Sep 19, 2004 11:07 am

Postby c2.0 » Fri Sep 16, 2005 8:16 pm

Corsix wrote:
Alvaro wrote:
Safari wrote:I'm at 174, else 133. 22 to go :o :roll:

You are at 133. But you have 27 to go. :twisted:
But that would mean that you are at 106...

ARG :biggun:


I've got 105 :mrgreen:
c2.0
 
Posts: 43
Joined: Sun Nov 07, 2004 5:50 pm
Location: Scotland

Postby Alvaro » Fri Sep 16, 2005 10:56 pm

c2.0 wrote:I've got 105 :mrgreen:

Hppyness is a short lived thing... I'll try harder.
User avatar
Alvaro
Moderator
 
Posts: 5185
Joined: Mon Sep 22, 2003 4:57 pm
Location: NY, USA

Postby t i l e x » Fri Sep 16, 2005 10:58 pm

Tsss... I gave up on that contest.
User avatar
t i l e x
 
Posts: 3604
Joined: Wed Dec 03, 2003 3:59 pm
Location: Québec (Canada)

Postby Safari » Sat Sep 17, 2005 2:40 pm

Sending in my 127 tokens solution *crossing fingers*.
I don't see how some are able to get under 110...Maybe well get < 100 tokens, who knows...
你 好!
User avatar
Safari
 
Posts: 1362
Joined: Sun Sep 19, 2004 11:07 am

Postby Corsix » Sat Sep 17, 2005 2:55 pm

Can our entries rely on the fact that the framework only goes up to 100?

Edit: On second thoughts, it would be stupid if we could. In other news, I'm at 106
Code: Select all
#include <stdio.h>
char*_="XxTIHRCXCxTIHRXRCxTIHXHRCxTIXIHRCxTXTIHRCxXxTIHRCX";
int main(int l){for(l+=7;l!=putchar(010);++l);if(*(++_))main
(*_!=88?(putchar(*_^073)|putchar(33))&1:0xffff2a8b);}
User avatar
Corsix
 
Posts: 1181
Joined: Fri Jul 23, 2004 9:33 am
Location: Berkeley, UK

Postby Corsix » Sat Sep 17, 2005 3:57 pm

Yee-haa:
corsix.h 101
Code: Select all
#include <stdio.h>
char*_="XxTIHRCXCxTIHRXRCxTIHXHRCxTIXIHRCxTXTIHRCxXxTIHRCX";
int main(int l){for(l+=7;l!=putchar(010);++l);if(*(++_))main
(*_!=88?(putchar(*_^073)|putchar(33))&1:0xffff2a8b);}
User avatar
Corsix
 
Posts: 1181
Joined: Fri Jul 23, 2004 9:33 am
Location: Berkeley, UK

Postby Beer Hunter » Sat Sep 17, 2005 7:54 pm

I got 112 easily enough. I might be able to knock off a few tokens, but I don't know if I can get to 101…
User avatar
Beer Hunter
 
Posts: 912
Joined: Sat Dec 13, 2003 7:12 pm
Location: Australia

Postby Safari » Sun Sep 18, 2005 5:14 am

:oops: :) :) :) :) :) :oops: :) :) :) :) :) :oops:
:oops: :) :) :) :) :oops: :) :oops: :) :) :) :) :oops:
:oops: :) :) :) :oops: :) :) :) :oops: :) :) :) :oops:
:oops: :) :) :) :oops: :) :) :) :oops: :) :) :) :oops:
:oops: :) :) :) :oops: :) :) :) :oops: :) :) :) :oops:
:oops: :) :) :) :oops: :) :) :) :oops: :) :) :) :oops:
:oops: :) :) :) :) :oops: :) :oops: :) :) :) :) :oops:
:oops: :) :) :) :) :) :oops: :) :) :) :) :) :oops:

Could we have a winner? Stay tune
User avatar
Safari
 
Posts: 1362
Joined: Sun Sep 19, 2004 11:07 am

Postby Corsix » Sun Sep 18, 2005 5:27 am

Safari wrote::oops: :) :) :) :) :) :oops: :) :) :) :) :) :oops:
:oops: :) :) :) :) :oops: :) :oops: :) :) :) :) :oops:
:oops: :) :) :) :oops: :) :) :) :oops: :) :) :) :oops:
:oops: :) :) :) :oops: :) :) :) :oops: :) :) :) :oops:
:oops: :) :) :) :oops: :) :) :) :oops: :) :) :) :oops:
:oops: :) :) :) :oops: :) :) :) :oops: :) :) :) :oops:
:oops: :) :) :) :) :oops: :) :oops: :) :) :) :) :oops:
:oops: :) :) :) :) :) :oops: :) :) :) :) :) :oops:
lol
Code: Select all
#include <stdio.h>
char*_="XxTIHRCXCxTIHRXRCxTIHXHRCxTIXIHRCxTXTIHRCxXxTIHRCX";
int main(int l){for(l+=7;l!=putchar(010);++l);if(*(++_))main
(*_!=88?(putchar(*_^073)|putchar(33))&1:0xffff2a8b);}
User avatar
Corsix
 
Posts: 1181
Joined: Fri Jul 23, 2004 9:33 am
Location: Berkeley, UK

PreviousNext

Return to Contests

Who is online

Users browsing this forum: No registered users and 1 guest