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 listJun 2, 2021 14:18Yuriy LyfenkoYuriy LyfenkoScore: 5,282Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 2, 2021 14:185,26943,639,19615,871,000991,0002,392,064
2Jun 2, 2021 14:185,27146,711,54815,876,000992,0002,387,968
3Jun 2, 2021 14:185,27344,582,94315,882,000992,0002,396,160
4Jun 2, 2021 14:185,27646,568,43814,896,0001,986,0002,265,088
5Jun 2, 2021 14:185,27743,923,30414,899,0001,986,0002,265,088
6Jun 2, 2021 14:185,28150,074,86914,912,0001,988,0002,527,232
7Jun 2, 2021 14:185,28233,094,63516,903,00002,506,752
8Jun 2, 2021 14:185,28338,938,20015,913,000994,0002,265,088
9Jun 2, 2021 14:185,30943,052,74714,991,0001,998,0002,396,160
10Jun 2, 2021 14:185,45763,043,61517,461,31102,277,376
11Jun 2, 2021 14:185,46881,645,80917,498,83302,273,280
12Jun 2, 2021 14:185,49795,024,72117,590,98002,277,376