Yup, seriously (but I'm getting ~1/31557600th closer to 15 every second)Dante Shamest wrote:Corsix wrote:14 actually
Seriously? I honestly believe you're better than most of my fellow undergraduates in my University.
Moderators: Darobat, RecursiveS, Dante Shamest, Bugdude, Wizard, raimo
Yup, seriously (but I'm getting ~1/31557600th closer to 15 every second)Dante Shamest wrote:Corsix wrote:14 actually
Seriously? I honestly believe you're better than most of my fellow undergraduates in my University.
#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);}Corsix wrote:Yup, seriously (but I'm getting ~1/31557600th closer to 15 every second)Dante Shamest wrote:Corsix wrote:14 actually
Seriously? I honestly believe you're better than most of my fellow undergraduates in my University.
Alvaro wrote:
- Code: Select all
left *= "\1\377"[last_response=="buzz"]
Wenn Engel hassen
stürzen sie wie Steine aus dem Himmelszelt;
wenn Engel hassen
fliegen sie als dunkle Vögel in die Welt;
wenn Engel hassen
landen sie als schwarzer Schatten der uns quält
und nehmen Rache
an den Menschen, die gefallen sind wie sie.
)
Safari wrote:Wenn Engel hassen
stürzen sie wie Steine aus dem Himmelszelt;
wenn Engel hassen
fliegen sie als dunkle Vögel in die Welt;
wenn Engel hassen
landen sie als schwarzer Schatten der uns quält
und nehmen Rache
an den Menschen, die gefallen sind wie sie.
My german suck.
When angles *something* *something* stones on heaven (?) ... (havn't read german in 3 years).
Safari wrote:Btw, you said your starting reading informatik soon, then your probably as old as me (18?) (I just started reading and going to read _alot_ math (basically every math course that hasn't anything to do with becoming a math teacher or economics, or maybe some math courses that has to do with modelling + economics) and physics. Homer: Theory of Integration and Modelling with neural nets, grrrrrr ahhhhhh, sounds juicy)
Safari wrote:btw, where's dantes and exomos? I downloaded the zip-file again and it wasn't there
When you use the comma operator, only the last element will be used for operations:Safari wrote:[syntax="cpp"]return left = player_position, num = num_of_players, "Safari";[/syntax]
Exactly what happens here? Exactly why doesn't it return left and num too? Or are they returned (but what happens then to them? Are they placed in the heap?)? So many questions
int i = 0;
std::cout << ((i+=1), i); //Didn't test, but should output 1Safari wrote:btw, where's dantes and exomos? I downloaded the zip-file again and it wasn't there
#include "sstream"
using namespace std;
struct dante : player
{
int round, pos, playerCount, turn, direction;
string init(int player_position, int num_of_players)
{
round = turn = 0;
direction = 1;
pos = player_position ;
playerCount = num_of_players;
return "Dante" ;
}
string respond(string ret)
{
stringstream ss;
ss << ++round ;
ss >> ret ;
turn = ((turn += direction) %= playerCount) ? turn : playerCount ;
if (round%7 && round%11 && ret.find('7')==UINT_MAX)
;
else
direction =- direction,
ret = "buzz";
return turn==pos?ret:"";
}
};Safari wrote:Does someone have the source code for tokxx? I need it on my unix machine
http://contests.cpp-home.com/39/tokxx-0.4.zip
the link is broken
Users browsing this forum: No registered users and 0 guests