黑科技 rand()

来源:互联网 发布:友盟数据 编辑:程序博客网 时间:2024/04/29 20:02

大家都很强, 可与之共勉。

然而并不知道怎么证明。。。

#include <cstdio>inline int rand ( )  {    static int seed = 233;    return seed = ( int ) seed * 48271LL % 2147483647;  }int main ()  {    while ( 1 )        printf ( "%d\n", rand () );}
原创粉丝点击