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 listOct 27, 2021 10:02Ilya AniskovetsIlya AniskovetsScore: 5,533Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 27, 2021 10:025,45739,644,37117,463,00002,289,664
2Oct 27, 2021 10:025,49340,686,41516,544,0001,034,0002,289,664
3Oct 27, 2021 10:025,51345,401,00516,604,0001,037,0002,289,664
4Oct 27, 2021 10:025,51848,390,13016,621,0001,038,0002,289,664
5Oct 27, 2021 10:025,52442,189,72816,637,0001,039,0002,269,184
6Oct 27, 2021 10:025,53034,528,44817,695,00002,265,088
7Oct 27, 2021 10:025,53340,684,40416,666,0001,041,0002,269,184
8Oct 27, 2021 10:025,58544,546,27217,872,00002,289,664
9Oct 27, 2021 10:025,58643,322,58915,888,0001,986,0002,269,184
10Oct 27, 2021 10:025,62066,484,59417,984,61002,293,760
11Oct 27, 2021 10:025,64285,276,66018,053,41202,174,976
12Oct 27, 2021 10:025,67283,873,15118,151,55202,301,952