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:10Viktor IarmolaViktor IarmolaScore: 17,015Success
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:1016,962128,728,53654,277,33702,244,608
2Dec 6, 2023 10:1017,015102,274,38354,449,54302,273,280
3Dec 6, 2023 10:1017,098136,252,63454,714,69902,273,280