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 listFeb 28, 2024 04:50Ryan Chung Yi ShengRyan Chung Yi ShengScore: 5,780Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 28, 2024 04:505,70286,181,92218,246,47902,179,072
2Feb 28, 2024 04:505,73399,589,66718,347,08902,297,856
3Feb 28, 2024 04:505,73787,742,54218,359,77702,301,952
4Feb 28, 2024 04:505,76434,718,81418,446,00002,531,328
5Feb 28, 2024 04:505,76535,758,85517,423,0001,024,0002,273,280
6Feb 28, 2024 04:505,77940,901,96517,467,0001,027,0002,285,568
7Feb 28, 2024 04:505,78039,896,47117,468,0001,027,0002,293,760
8Feb 28, 2024 04:505,78140,596,82517,471,0001,027,0002,293,760
9Feb 28, 2024 04:505,78239,543,24018,502,00002,293,760
10Feb 28, 2024 04:505,78945,722,27018,526,00002,273,280
11Feb 28, 2024 04:505,79334,640,71017,507,0001,029,0002,293,760
12Feb 28, 2024 04:505,80240,286,89017,535,0001,031,0002,293,760