Count uint8 Sergey Svistunov

Count the number of bytes equal to 127 in a binary stream as fast as possible.

Input: 250 000 000 uint8 values in binary on STDIN.

Output: The count of elements equal to 127, printed as a decimal string.

Back to listAug 4, 2024 03:00eternalhopeeternalhopeScore: 4,770Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 4, 2024 03:004,72939,107,58013,115,0002,017,0002,289,664
2Aug 4, 2024 03:004,73639,056,93714,144,0001,010,0002,273,280
3Aug 4, 2024 03:004,73836,148,80113,142,0002,021,0002,289,664
4Aug 4, 2024 03:004,74538,780,15813,161,0002,024,0002,289,664
5Aug 4, 2024 03:004,75332,923,12813,181,0002,027,0002,273,280
6Aug 4, 2024 03:004,76834,375,06814,239,0001,017,0002,285,568
7Aug 4, 2024 03:004,77032,160,00113,229,0002,035,0002,269,184
8Aug 4, 2024 03:004,78632,497,16913,273,0002,042,0002,527,232
9Aug 4, 2024 03:004,81549,523,58313,355,0002,054,0002,355,200
10Aug 4, 2024 03:005,058100,080,49216,185,28302,301,952
11Aug 4, 2024 03:005,08160,445,36116,258,33002,306,048
12Aug 4, 2024 03:005,10061,886,07116,319,69102,297,856