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 listMay 22, 2021 18:12Andrey TsvetkovAndrey TsvetkovScore: 5,778Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 22, 2021 18:125,73739,544,08816,318,0002,039,0002,334,720
2May 22, 2021 18:125,75362,562,07518,409,78502,232,320
3May 22, 2021 18:125,75839,753,73517,402,0001,023,0002,322,432
4May 22, 2021 18:125,76043,428,55116,384,0002,048,0002,392,064
5May 22, 2021 18:125,76342,744,44615,367,0003,073,0002,334,720
6May 22, 2021 18:125,76581,276,01718,447,59602,236,416
7May 22, 2021 18:125,77040,158,36617,439,0001,025,0002,519,040
8May 22, 2021 18:125,77840,035,19416,434,0002,054,0002,531,328
9May 22, 2021 18:125,78196,531,73918,500,01902,228,224
10May 22, 2021 18:125,78340,195,85016,451,0002,056,0002,334,720
11May 22, 2021 18:125,79239,886,19417,504,0001,029,0002,535,424
12May 22, 2021 18:125,79474,446,79018,542,09402,228,224
13May 22, 2021 18:125,80140,457,31516,502,0002,062,0002,334,720
14May 22, 2021 18:125,80887,281,48018,586,00902,220,032
15May 22, 2021 18:125,84289,234,60518,694,82002,224,128