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 listJan 5, 2023 23:01Hal FHal FScore: 5,290Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 5, 2023 23:015,26940,024,07715,870,000991,0002,289,664
2Jan 5, 2023 23:015,27445,056,72814,893,0001,985,0002,289,664
3Jan 5, 2023 23:015,27446,192,43714,893,0001,985,0002,289,664
4Jan 5, 2023 23:015,27533,953,85415,888,000993,0002,277,376
5Jan 5, 2023 23:015,27748,078,79915,830,0001,055,0002,273,280
6Jan 5, 2023 23:015,28143,548,25014,912,0001,988,0002,273,280
7Jan 5, 2023 23:015,29037,357,87714,936,0001,991,0002,269,184
8Jan 5, 2023 23:015,29848,022,71414,958,0001,994,0002,289,664
9Jan 5, 2023 23:015,30935,279,19414,991,0001,998,0002,269,184
10Jan 5, 2023 23:015,44287,950,77217,414,55102,289,664
11Jan 5, 2023 23:015,44982,138,99317,436,00502,293,760
12Jan 5, 2023 23:015,46780,600,93917,495,07902,297,856