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 28, 2024 09:31BenBenScore: 4,645Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 28, 2024 09:314,59334,247,01614,696,00002,506,752
2Jul 28, 2024 09:314,59333,919,52813,648,0001,049,0002,265,088
3Jul 28, 2024 09:314,59742,330,16413,661,0001,050,0002,260,992
4Jul 28, 2024 09:314,60230,991,78813,674,0001,051,0002,265,088
5Jul 28, 2024 09:314,60434,377,93213,682,0001,052,0002,265,088
6Jul 28, 2024 09:314,64330,693,98612,876,0001,981,0002,396,160
7Jul 28, 2024 09:314,64535,589,17114,864,00002,387,968
8Jul 28, 2024 09:314,64733,792,23913,880,000991,0002,502,656
9Jul 28, 2024 09:314,64832,966,51514,874,00002,383,872
10Jul 28, 2024 09:314,85269,917,60115,527,95302,285,568
11Jul 28, 2024 09:314,86489,414,93315,566,09402,285,568
12Jul 28, 2024 09:314,87089,258,35515,585,14402,289,664