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 29, 2024 06:32Matt StuchlikMatt StuchlikScore: 10,477Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 29, 2024 06:3210,44494,041,32333,419,76302,187,264
2Jul 29, 2024 06:3210,47791,905,17133,527,80302,179,072
3Jul 29, 2024 06:3210,48488,208,84633,549,12202,183,168