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 11, 2024 23:21MatthiasMatthiasScore: 4,821Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 11, 2024 23:214,78832,717,37115,320,00002,265,088
2Dec 11, 2024 23:184,79437,558,96315,342,00002,269,184
3Dec 11, 2024 23:214,79734,350,70815,350,00002,285,568
4Dec 11, 2024 23:214,81641,604,63214,384,0001,027,0002,285,568
5Dec 11, 2024 23:184,82134,187,65014,400,0001,028,0002,285,568
6Dec 11, 2024 23:214,82330,680,19314,405,0001,028,0002,523,136
7Dec 11, 2024 23:214,84137,587,22414,458,0001,032,0002,523,136
8Dec 11, 2024 23:184,85739,289,39215,543,00002,285,568
9Dec 11, 2024 23:215,02435,545,64014,068,0002,009,0002,359,296