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 18:27Hayden DonnellyHayden DonnellyScore: 10,663Success
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 18:2710,39960,407,3934,033,00029,244,0002,293,760
2Nov 27, 2024 18:2710,46956,489,2217,106,00026,396,0002,396,160
3Nov 27, 2024 18:2710,50362,379,8407,129,00026,479,0002,293,760
4Nov 27, 2024 18:2710,56763,164,8017,956,00025,857,0002,400,256
5Nov 27, 2024 18:2710,66360,760,7935,018,00029,104,0002,392,064
6Nov 27, 2024 18:2710,68464,210,1753,016,00031,174,0002,387,968
7Nov 27, 2024 18:2710,72361,833,1056,055,00028,259,0002,396,160
8Nov 27, 2024 18:2710,92359,008,0315,992,00028,963,0002,293,760
9Nov 27, 2024 18:2711,56158,985,3715,999,00030,996,0002,387,968