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 listNov 19, 2024 22:18Dan StolyarovDan StolyarovScore: 27,526Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 19, 2024 22:1827,445110,222,80256,886,00030,938,0002,469,888
2Nov 19, 2024 22:1827,526117,131,87758,055,00030,028,0002,473,984
3Nov 19, 2024 22:1827,583116,698,06855,167,00033,100,0002,371,584