OJ-Problems-Source/HDOJ/4361_autoAC.cpp
2016-09-04 15:55:06 +08:00

12 lines
245 B
C++

#include <cstdio>
#include <cstdlib>
int main()
{
srand(1121139700);
int caseNumber;
scanf("%d", &caseNumber);
while(caseNumber --)
if(rand() & 1) printf("alive!\n");
else printf("dead!\n");
}