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 listMay 13, 2021 06:06Andrey BurovAndrey BurovScore: 349,668Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 13, 2021 06:06349,6521,197,853,2911,118,886,34802,187,264
2May 13, 2021 06:06349,6681,181,935,6451,118,938,61902,203,648
3May 13, 2021 06:06349,6681,184,413,7731,118,936,10602,191,360