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 listApr 24, 2025 18:55lukostlukostScore: 5,636Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 24, 2025 18:555,61741,446,62015,977,0001,997,0002,277,376
2Apr 24, 2025 18:555,61837,884,06815,980,0001,997,0002,273,280
3Apr 24, 2025 18:555,63144,814,97316,017,0002,002,0002,277,376
4Apr 24, 2025 18:555,63551,307,19615,026,0003,005,0002,277,376
5Apr 24, 2025 18:555,63636,750,44517,033,0001,001,0002,277,376
6Apr 24, 2025 18:555,64340,279,53715,049,0003,009,0002,277,376
7Apr 24, 2025 18:555,65940,653,83516,097,0002,012,0002,277,376
8Apr 24, 2025 18:555,65941,956,56517,104,0001,006,0002,269,184
9Apr 24, 2025 18:555,66141,522,43318,114,00002,277,376