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 listJan 3, 2023 21:34Hal FHal FScore: 4,669Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 3, 2023 21:344,64532,320,80912,882,0001,981,0002,269,184
2Jan 3, 2023 21:344,64837,531,24012,889,0001,983,0002,289,664
3Jan 3, 2023 21:344,65134,338,74212,898,0001,984,0002,289,664
4Jan 3, 2023 21:344,65231,091,96513,895,000992,0002,277,376
5Jan 3, 2023 21:344,66030,558,17012,925,0001,988,0002,285,568
6Jan 3, 2023 21:344,66836,155,99712,946,0001,991,0002,269,184
7Jan 3, 2023 21:344,66932,398,96412,948,0001,992,0002,281,472
8Jan 3, 2023 21:344,67229,663,93412,957,0001,993,0002,289,664
9Jan 3, 2023 21:344,73639,247,37813,136,0002,020,0002,289,664
10Jan 3, 2023 21:344,87264,080,56115,588,91602,301,952
11Jan 3, 2023 21:344,89490,446,07015,660,84002,293,760
12Jan 3, 2023 21:344,90558,434,22515,695,47602,174,976