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 listNov 27, 2024 23:36Hayden DonnellyHayden DonnellyScore: 5,371Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 27, 2024 23:365,35937,089,90315,131,0002,017,0002,289,664
2Nov 27, 2024 23:365,36240,025,39815,139,0002,018,0002,371,584
3Nov 27, 2024 23:365,36239,815,68416,148,0001,009,0002,289,664
4Nov 27, 2024 23:365,36638,369,02415,150,0002,020,0002,265,088
5Nov 27, 2024 23:365,37136,728,26916,177,0001,011,0002,285,568
6Nov 27, 2024 23:365,38842,990,28715,214,0002,028,0002,289,664
7Nov 27, 2024 23:365,39945,124,52415,244,0002,032,0002,289,664
8Nov 27, 2024 23:365,40045,954,25817,280,00002,281,472
9Nov 27, 2024 23:365,43252,411,42915,337,0002,045,0002,289,664