摘要: 阅读全文
posted @ 2013-01-07 20:58 孤独是一种力量 阅读(446) 评论(0) 推荐(0) 编辑
摘要: #include <stdlib.h>#include <stdio.h>#include <time.h>#define MAX 100 //MAX为最大值,其随机域为0~MAX-1int main( ){ srand((unsigned)time( NULL )); for(int i=0;i<3;i++)//随机输出次数 printf("%d\n",rand()%MAX); return 0;}虽然人品确实不行 不过为了那刷屏的wrong answer 纪念一下 阅读全文
posted @ 2013-01-07 20:21 孤独是一种力量 阅读(150) 评论(0) 推荐(0) 编辑