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 22, 2024 12:52Huy Duc LeHuy Duc LeScore: 5,173Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 22, 2024 12:525,13943,490,62915,417,0001,027,0002,293,760
2Feb 22, 2024 12:525,14139,945,43316,452,00002,285,568
3Feb 22, 2024 12:525,14235,109,24015,426,0001,028,0002,293,760
4Feb 22, 2024 12:525,14939,941,62015,448,0001,029,0002,269,184
5Feb 22, 2024 12:525,15139,418,38515,513,000969,0002,527,232
6Feb 22, 2024 12:525,16143,418,25415,483,0001,032,0002,273,280
7Feb 22, 2024 12:525,17342,299,94116,554,00002,293,760
8Feb 22, 2024 12:525,17945,728,24015,537,0001,035,0002,293,760
9Feb 22, 2024 12:525,20435,201,89715,614,0001,040,0002,273,280
10Feb 22, 2024 12:525,35083,653,65917,120,15902,301,952
11Feb 22, 2024 12:525,36086,099,77917,151,01302,301,952
12Feb 22, 2024 12:525,36281,478,50617,159,58702,297,856