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 listJul 15, 2022 06:56Robert BurkeRobert BurkeScore: 5,388Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 15, 2022 06:565,34331,705,87116,093,0001,005,0002,281,472
2Jul 15, 2022 06:565,35437,950,49616,125,0001,007,0002,281,472
3Jul 15, 2022 06:565,35834,298,61316,136,0001,008,0002,433,024
4Jul 15, 2022 06:565,36036,634,68216,144,0001,009,0002,437,120
5Jul 15, 2022 06:565,36740,155,11216,165,0001,010,0002,437,120
6Jul 15, 2022 06:565,37449,600,05516,186,0001,011,0002,281,472
7Jul 15, 2022 06:565,38840,486,29816,226,0001,014,0002,441,216
8Jul 15, 2022 06:565,45342,981,52116,424,0001,026,0002,281,472
9Jul 15, 2022 06:565,52779,054,12917,686,60202,191,360
10Jul 15, 2022 06:565,54676,557,79117,747,02402,179,072
11Jul 15, 2022 06:565,563101,996,87917,803,05202,174,976
12Jul 15, 2022 06:565,56945,039,25315,840,0001,980,0002,281,472