ulpc / MWZ-1

제 1회 언더싸롱배 망월장
http://undersalon.com
5 stars 1 forks source link

죽창 #21

Open ikasty opened 5 years ago

ikasty commented 5 years ago
#define Kill delete

Person Me = new Person();
Person You = new Person();
Person Rich = new Person();

std::clock_t start = std::clock();
while ( true ) {

    if (std::clock() - start > Me->age) Kill Me;
    if (std::clock() - start > You->age) Kill You;
    if (std::clock() - start > Rich->age) Kill Rich;

}

by kasty

시간 앞에선 너도 한 방, 나도 한 방...