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 listDec 6, 2023 10:00Viktor IarmolaViktor IarmolaScore: 2,531,310Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 6, 2023 10:002,530,6988,164,571,1588,098,232,32302,256,896
2Dec 6, 2023 10:002,531,3108,161,172,7418,100,191,07302,260,992
3Dec 6, 2023 10:002,542,0778,206,549,5768,134,646,00502,248,704