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 listMay 17, 2021 23:31Yuriy LyfenkoYuriy LyfenkoScore: 5,301Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2021 23:315,2411,737,719,28716,772,00002,265,088
2May 17, 2021 23:315,2463,017,327,79013,826,0002,962,0002,387,968
3May 17, 2021 23:315,248527,413,65214,818,0001,975,0002,523,136
4May 17, 2021 23:315,260822,763,61715,841,000990,0002,265,088
5May 17, 2021 23:315,2682,842,798,12816,858,00002,392,064
6May 17, 2021 23:315,2731,839,043,00316,873,00002,265,088
7May 17, 2021 23:315,3011,824,516,38813,970,0002,993,0002,260,992
8May 17, 2021 23:315,3122,191,755,98014,998,0001,999,0002,523,136
9May 17, 2021 23:315,3141,865,963,17515,005,0002,000,0002,527,232
10May 17, 2021 23:315,4332,308,017,44317,386,96502,281,472
11May 17, 2021 23:315,4542,459,738,54017,451,38502,285,568
12May 17, 2021 23:315,4991,449,628,76117,597,03902,281,472