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 24, 2024 22:41IhebIhebScore: 5,333Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 24, 2024 22:415,28743,482,58516,918,00002,265,088
2Mar 24, 2024 22:415,30945,724,00215,991,000999,0002,265,088
3Mar 24, 2024 22:415,31033,971,67314,994,0001,999,0002,265,088
4Mar 24, 2024 22:415,31347,389,62216,000,0001,000,0002,265,088
5Mar 24, 2024 22:415,32643,933,52716,041,0001,002,0002,265,088
6Mar 24, 2024 22:415,32834,936,09615,045,0002,006,0002,387,968
7Mar 24, 2024 22:415,33334,483,16916,063,0001,003,0002,265,088
8Mar 24, 2024 22:415,33736,422,20317,079,00002,265,088
9Mar 24, 2024 22:415,34342,385,66715,086,0002,011,0002,396,160
10Mar 24, 2024 22:415,50794,250,73917,623,66202,281,472
11Mar 24, 2024 22:415,51163,139,29517,634,15202,289,664
12Mar 24, 2024 22:415,55280,095,91617,765,11202,285,568