Timeline for The Cake Cutting Contest
Current License: CC BY-SA 3.0
19 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 6, 2015 at 20:58 | comment | added | Liam | And hence he is a sad bot. | |
Oct 6, 2015 at 20:57 | comment | added | Blue | Ok, now its getting 144/3600 pieces (winner is getting 649) | |
Oct 6, 2015 at 20:46 | history | edited | Liam | CC BY-SA 3.0 |
deleted 13 characters in body
|
Oct 6, 2015 at 20:44 | comment | added | Liam | I have the input order backwards. I'll swap it around. Wow I'm bad at this. Should now cout 120 in that situation. | |
Oct 6, 2015 at 20:43 | comment | added | Blue |
Nope, your bot scored 0, (it prints out 0.00833333 when ran as sh "./commands/c++.sh" "./bots/SadBot.cpp" SadBot 3600 3600 30 30 )
|
|
Oct 6, 2015 at 20:36 | comment | added | Liam | Is it still throwing the error after you add the extra includes? | |
Oct 6, 2015 at 20:35 | comment | added | Blue |
g++ $1 -o ./bots/$2; ./bots/$2 $3 $4 $5 $6
|
|
Oct 6, 2015 at 20:33 | history | edited | Liam | CC BY-SA 3.0 |
added 45 characters in body
|
Oct 6, 2015 at 20:30 | comment | added | Liam | atof should be in the C++ standard (should even work in C if I'm not mistaken). I added some includes so hopefully it should work now. | |
Oct 6, 2015 at 20:28 | comment | added | Blue |
Ok, now I'm getting 'atof' was not declared in this scope
|
|
Oct 6, 2015 at 20:24 | history | edited | Liam | CC BY-SA 3.0 |
**EDIT** fairbot changed his name to sadbot. I cleaned some formatting stuff up.
|
Oct 6, 2015 at 20:23 | comment | added | Blue | Also, the brackets need to be put inside the code block | |
Oct 6, 2015 at 20:22 | history | edited | Liam | CC BY-SA 3.0 |
added 30 characters in body
|
Oct 6, 2015 at 20:20 | comment | added | Blue | You can change your name to sadbot if you want. | |
Oct 6, 2015 at 20:06 | comment | added | Liam | As you have commanded, so it is done. | |
Oct 6, 2015 at 20:06 | history | edited | Liam | CC BY-SA 3.0 |
added 336 characters in body
|
Oct 6, 2015 at 16:22 | comment | added | Blue | Can you make it so it takes the args from argv rather than stdin? | |
Oct 6, 2015 at 0:23 | history | edited | Liam | CC BY-SA 3.0 |
added 272 characters in body
|
Oct 6, 2015 at 0:08 | history | answered | Liam | CC BY-SA 3.0 |