randomize;
random(100)+1;
by blue_moon @ 2017-04-04 16:20:13
c++方法,,
```cpp
#include<ctime>
#include<iostream>
#include<cstdlib>
using namespace std;
int main()
{
int x;
srand(time(0));
x=rand()%100;
cout<<x<<endl;
return 0;
}
```
by lovecyx @ 2017-04-04 16:52:59
```cpp
var i:longint;
begin
Randomize;
i:=Random(101);
end.
```
by Niscet @ 2017-04-04 17:17:50
用随机种子就行
by Elsabella @ 2017-04-11 16:50:35