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 4, 2023 07:36Jörn HorstmannJörn HorstmannScore: 5,908Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 4, 2023 07:365,79738,116,75018,551,0000266,240
2Jul 4, 2023 07:365,84443,916,38217,662,0001,038,000266,240
3Jul 4, 2023 07:365,90347,605,90616,903,0001,988,000262,144
4Jul 4, 2023 07:365,90436,461,55817,898,000994,000237,568
5Jul 4, 2023 07:365,90740,313,86116,912,0001,989,000253,952
6Jul 4, 2023 07:365,90735,100,69317,908,000994,000262,144
7Jul 4, 2023 07:365,90843,265,74418,906,0000180,224
8Jul 4, 2023 07:365,91948,178,22816,947,0001,993,000356,352
9Jul 4, 2023 07:365,94983,925,44219,037,22902,236,416
10Jul 4, 2023 07:365,96491,228,19319,084,25802,236,416
11Jul 4, 2023 07:365,96842,740,08317,087,0002,010,0002,289,664
12Jul 4, 2023 07:365,977103,981,02219,125,72902,252,800