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:07Yuriy LyfenkoYuriy LyfenkoScore: 5,293Success
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:075,26844,444,55214,875,0001,983,0002,265,088
2Jun 2, 2021 14:075,27051,646,82115,873,000992,0002,265,088
3Jun 2, 2021 14:075,27443,444,76614,891,0001,985,0002,387,968
4Jun 2, 2021 14:075,27543,782,46814,894,0001,985,0002,265,088
5Jun 2, 2021 14:075,27546,899,87915,888,000993,0002,527,232
6Jun 2, 2021 14:075,28737,719,53315,922,000995,0002,506,752
7Jun 2, 2021 14:075,29341,251,87015,943,000996,0002,265,088
8Jun 2, 2021 14:075,29737,813,37914,955,0001,994,0002,265,088
9Jun 2, 2021 14:075,29742,363,26614,955,0001,994,0002,473,984
10Jun 2, 2021 14:075,46681,130,59217,492,73102,277,376
11Jun 2, 2021 14:075,46886,415,96517,498,54102,285,568
12Jun 2, 2021 14:075,48778,142,27117,557,24502,281,472