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 listMay 16, 2021 22:36Yuriy LyfenkoYuriy LyfenkoScore: 5,394Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2021 22:365,3562,721,256,59216,069,0001,071,0002,523,136
2May 16, 2021 22:365,3651,370,666,12316,214,000953,0002,387,968
3May 16, 2021 22:365,3744,754,245,32015,173,0002,023,0002,523,136
4May 16, 2021 22:365,3823,926,252,29916,267,000956,0002,260,992
5May 16, 2021 22:365,390477,310,15415,218,0002,029,0002,523,136
6May 16, 2021 22:365,3912,043,578,91616,294,000958,0002,387,968
7May 16, 2021 22:365,3944,892,581,76916,303,000959,0002,260,992
8May 16, 2021 22:365,3954,233,844,83316,250,0001,015,0002,260,992
9May 16, 2021 22:365,3961,907,803,36716,252,0001,015,0002,260,992
10May 16, 2021 22:365,5951,330,648,91917,902,62902,281,472
11May 16, 2021 22:365,6041,970,420,79717,932,64902,281,472
12May 16, 2021 22:365,622964,497,55517,991,92802,285,568