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 listJan 23, 2024 15:12Gokberk YaltirakliGokberk YaltirakliScore: 2,536,679Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 23, 2024 15:122,517,2498,138,430,1528,055,196,99102,248,704
2Jan 23, 2024 15:122,536,6798,186,853,1068,117,374,27502,252,800
3Jan 23, 2024 15:122,639,6168,516,849,3228,446,770,61602,265,088