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 listApr 10, 2024 02:52Steve BronderSteve BronderScore: 5,671Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 10, 2024 02:525,63641,648,62716,031,0002,003,0002,281,472
2Apr 10, 2024 02:525,64345,534,33516,050,0002,006,0002,293,760
3Apr 10, 2024 02:525,64839,630,88916,066,0002,008,0002,293,760
4Apr 10, 2024 02:525,65340,272,79816,081,0002,010,0002,293,760
5Apr 10, 2024 02:525,65441,550,44316,084,0002,010,0002,273,280
6Apr 10, 2024 02:525,65942,082,20516,096,0002,012,0002,293,760
7Apr 10, 2024 02:525,67141,045,46016,130,0002,016,0002,273,280
8Apr 10, 2024 02:525,67443,308,77317,149,0001,008,0002,396,160
9Apr 10, 2024 02:525,67643,622,14317,153,0001,009,0002,293,760
10Apr 10, 2024 02:525,83598,899,06818,672,22302,183,168
11Apr 10, 2024 02:525,85885,841,70418,744,69802,183,168
12Apr 10, 2024 02:525,86691,418,47018,771,19102,179,072