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 listJul 28, 2024 11:43byrtoletbyrtoletScore: 2,507,640Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 28, 2024 11:432,505,2878,078,686,5708,016,916,90802,260,992
2Jul 28, 2024 11:432,507,6408,085,560,8568,024,447,36402,236,416
3Jul 28, 2024 11:432,507,6998,086,081,8308,024,636,87802,248,704