Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <Triclops200> you are given a function defninition named foo(...)
- <Triclops200> Which can have any number of args
- <Triclops200> The two coders are given different tasks to do with the functionand the arguments
- <Triclops200> the winner is the one that can make the function do what he wants
- <Triclops200> Each coder takes a turn writing a line of code
- <Triclops200> You may not change the value of a variable created by the other coder except in a reference call
- <Triclops200> And, no one is allowed to change the value of the arguments passed, either by reference or directly
- <Triclops200> Each line is one expression
- <Triclops200> No chaining
- <Triclops200> Exception being for loops
- <Triclops200> You may have ONE expression following one for loop.
- <Triclops200> creation of an infinite loop is a loss
- <Triclops200> returning a wrong value is a loss
- <Triclops200> Must be written in valid C
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement