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 18, 2022 11:13JesperJesperScore: 2,531,326Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 18, 2022 11:132,530,7398,156,668,3598,098,364,26002,244,608
2Jul 18, 2022 11:132,531,3268,155,264,7378,100,242,11902,248,704
3Jul 18, 2022 11:132,561,6718,277,046,2538,197,346,69102,252,800