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 22, 2024 11:37matsuoka-601matsuoka-601Score: 4,965Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 22, 2024 11:374,95337,017,14113,870,0001,981,0002,265,088
2Jan 22, 2024 11:374,95346,335,60013,870,0001,981,0002,293,760
3Jan 22, 2024 11:374,95835,312,38113,883,0001,983,0002,269,184
4Jan 22, 2024 11:374,95843,572,86213,883,0001,983,0002,293,760
5Jan 22, 2024 11:374,96131,569,14613,891,0001,984,0002,265,088
6Jan 22, 2024 11:374,96335,437,28014,890,000992,0002,359,296
7Jan 22, 2024 11:374,96537,952,84315,888,00002,269,184
8Jan 22, 2024 11:374,96640,270,68113,906,0001,986,0002,293,760
9Jan 22, 2024 11:374,98339,517,75513,952,0001,993,0002,293,760
10Jan 22, 2024 11:375,10980,792,50116,347,71802,187,264
11Jan 22, 2024 11:375,12383,910,68816,394,68302,256,896
12Jan 22, 2024 11:375,14492,079,81116,461,26502,179,072