Coding Bee

buildscc | 08 Feb 2012 | | events

Allan and George are planning a coding bee! Here are the rules:

Allowed Symbols

( {left,open} {paren,parenthesis} ) {right,close} {paren,parenthesis} [ {left,open} {bracket,square bracket} ] {right,close} {bracket,square bracket} { {left,open} {brace,curly {bracket,brace}, squiggly {bracket,brace}} } {right,close} {brace,curly {bracket,brace}, squiggly {bracket,brace}} < {bra,less than,{left,open} {waka,angle{ bracket,}},langle} > {ket,greater than,{right,close} {waka,angle{ bracket,}},rangle} ! {exclamation mark,bang,shriek,factorial,wow} @ {at{, symbol},strudel} # {hash,pound{, sign},number sign,crunch,sharp,{octo}thorpe,tic-tac-toe} $ dollar{, sign} % {percent,percentage}{, mark} ^ {hat,carat,circumflex} & {and,ampersand,pretzel} * {star,asterisk} ` {backtick,grave,backquote} ~ {tilde,twiddle,wiggle,squiggle} - {minus,hyphen,dash} _ {underline,underscore} + {plus,add} = {equals,equal to} | {bar,pipe} \ backslash / {forward ,}slash ? {question mark,surprise noodle} ; semicolon : colon ' {apostrophe,single quote} " {double ,}quote . {period,dot,point} , comma Enter: like hitting the 'enter' key on any sane system Tab: puts a 'tab' symbol [no automatic indentation] Space: hit the spacebar Backspace: Hit the fucking backspace key. Don't use the arrow keys. No editor-specific key bindings. Please explicitly state capital letters (e.g. "capital A") You may use the capslock key. We will not help you if you have forgotten if it is on. Allowed alternatives to standard American letter names: Z may be 'zed' H may be 'haich'

Languages

** Python 2.6 or 2.7 ** No imports

You will be given the type and name of the function. e.g.

	fib :: Int -> Int

** GHC 6 or 7, with no extensions enabled. Haskell 98 is acceptable.

	int fib (int a);

** GCC version 4.x, with no flags. **

No imports; you may use anything in libc. (Including GNU extensions)

	function fib(a) {

** PHP Version 5 ** Restrictions?

	sub fib {

** Perl 5 ** No use statements. Restrictions?

Prize

The prize will be a ceiling tile with your gorgeous face on it created by our very own - Monica Gribouski.

Problems

Easy

Medium

Hard

=== Impossible ===


Older · View Archive (146)

BUILDSBot Droplet

Specifications and GoalsBuild a swarm of semi intelligent robots The swarm robots should achieve the following things:

  • Ability to communicate amongst each other and w/ a computer of choice
  • Distributed vs Centralized (Ender Wiggin vs Bugger Queen)
  • Low Cost for reproducibility
  • Possibly of different types and specs. Or all the same. For example: ** Feelers. Collision detection. Used to map out the area.
  • Movers. Extra actuators… Possibly using electromagnets to move metallic objects around
  • Philosophers. Computation nodes, can also move.

Newer

Foucault Pendulum

Overview

This is a joint BUILDS - PHOTON project. BUILDS is working on a small scale model for PHOTON to take and work with BU to have a large scale model installed in a building on campus (SCI?).

Joining

If you want to join this project, email John-Nicholas Furst

Background Research

Build an Accurate Foucault Pendulum: [1]

Result

After a consultation with PHOTON BUILDS engineers discussed with PHOTON that they would need approval from structural engineers, BU Facilties, and Boston Building Modifications Board.