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 3, 2021 05:14Yuriy LyfenkoYuriy LyfenkoScore: 5,079Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 3, 2021 05:145,038542,921,11915,115,0001,007,0002,273,280
2Jun 3, 2021 05:145,038541,548,02614,108,0002,015,0002,281,472
3Jun 3, 2021 05:145,046539,006,53615,137,0001,009,0002,281,472
4Jun 3, 2021 05:145,068540,723,82516,217,00002,273,280
5Jun 3, 2021 05:145,068533,499,66615,205,0001,013,0002,404,352
6Jun 3, 2021 05:145,071541,550,28415,212,0001,014,0002,281,472
7Jun 3, 2021 05:145,079540,994,24715,237,0001,015,0002,273,280
8Jun 3, 2021 05:145,093542,844,35916,299,00002,412,544
9Jun 3, 2021 05:145,097544,525,12516,309,00002,273,280
10Jun 3, 2021 05:145,180581,994,04716,576,81302,252,800
11Jun 3, 2021 05:145,194576,413,15016,619,73202,289,664
12Jun 3, 2021 05:145,226577,802,89516,724,76402,256,896