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 5, 2021 16:53evgenikwtevgenikwtScore: 5,279Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 5, 2021 16:535,23834,789,40014,791,0001,972,0002,392,064
2Jun 5, 2021 16:535,27246,438,90214,887,0001,984,0002,265,088
3Jun 5, 2021 16:535,27348,951,12515,881,000992,0002,387,968
4Jun 5, 2021 16:535,27431,420,79515,885,000992,0002,527,232
5Jun 5, 2021 16:535,27735,524,23016,886,00002,527,232
6Jun 5, 2021 16:535,27734,761,43515,893,000993,0002,265,088
7Jun 5, 2021 16:535,27943,174,16014,906,0001,987,0002,506,752
8Jun 5, 2021 16:535,28141,715,70514,910,0001,988,0002,265,088
9Jun 5, 2021 16:535,30942,555,06214,992,0001,998,0002,396,160
10Jun 5, 2021 16:535,46987,180,02617,500,46302,289,664
11Jun 5, 2021 16:535,49190,062,67217,569,75302,281,472
12Jun 5, 2021 16:535,49995,290,78917,596,55202,244,608