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 listMar 7, 2024 07:58Huy Duc LeHuy Duc LeScore: 4,648Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 7, 2024 07:584,59631,747,16913,657,0001,050,0002,265,088
2Mar 7, 2024 07:584,64344,429,32312,876,0001,981,0002,392,064
3Mar 7, 2024 07:584,64330,684,66412,878,0001,981,0002,392,064
4Mar 7, 2024 07:584,64639,648,05213,875,000991,0002,387,968
5Mar 7, 2024 07:584,64632,105,75813,876,000991,0002,387,968
6Mar 7, 2024 07:584,64832,813,56914,872,00002,387,968
7Mar 7, 2024 07:584,64836,348,18812,892,0001,983,0002,265,088
8Mar 7, 2024 07:584,65332,275,33212,904,0001,985,0002,265,088
9Mar 7, 2024 07:584,67244,372,25612,958,0001,993,0002,400,256
10Mar 7, 2024 07:584,84956,730,61315,515,25202,289,664
11Mar 7, 2024 07:584,85597,357,54215,534,75902,285,568
12Mar 7, 2024 07:584,88362,275,88515,625,75602,277,376