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 6, 2021 22:50Yuriy LyfenkoYuriy LyfenkoScore: 5,033Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 6, 2021 22:504,98589,185,53514,956,000997,0002,281,472
2Jun 6, 2021 22:504,98786,283,08613,964,0001,994,0002,281,472
3Jun 6, 2021 22:504,99486,681,83313,985,0001,997,0002,281,472
4Jun 6, 2021 22:504,99989,393,77913,997,0001,999,0002,281,472
5Jun 6, 2021 22:505,00190,262,82014,004,0002,000,0002,273,280
6Jun 6, 2021 22:505,00384,644,58114,008,0002,001,0002,408,448
7Jun 6, 2021 22:505,03393,562,14415,101,0001,006,0002,273,280
8Jun 6, 2021 22:505,04992,355,00514,137,0002,019,0002,408,448
9Jun 6, 2021 22:505,05289,369,50114,145,0002,020,0002,396,160
10Jun 6, 2021 22:505,148115,722,34416,473,99102,285,568
11Jun 6, 2021 22:505,151129,118,07916,482,07002,252,800
12Jun 6, 2021 22:505,204130,937,64116,653,59502,289,664