Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
fpc-src / usr / share / fpcsrc / 3.2.0 / tests / webtbs / tw3210.pp
Size: Mime:
Const
    N   = 10000;

Var
    count       : array[0..200] of int64;
    i , tot     : longint;

Begin
    fillchar(count , sizeof(count) , 0);
    for i := 1 to N do
      begin
          inc(count[random(201)]);
      end;
    tot := 0;
    for i := 0 to 200 do inc(tot , count[i]);
    if (tot <> N) then
      halt(1);
End.