OJ-Problems-Source/HDOJ/4361_autoAC.cpp

12 lines
245 B
C++
Raw Normal View History

#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");
}