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 27, 2021 19:31Yuriy LyfenkoYuriy LyfenkoScore: 5,081Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 27, 2021 19:315,04936,767,05015,148,0001,009,0002,265,088
2May 27, 2021 19:315,05137,486,89114,144,0002,020,0002,265,088
3May 27, 2021 19:315,05332,072,82415,158,0001,010,0002,265,088
4May 27, 2021 19:315,05530,262,04314,154,0002,022,0002,269,184
5May 27, 2021 19:315,06432,355,45214,179,0002,025,0002,265,088
6May 27, 2021 19:315,06534,846,89414,182,0002,026,0002,265,088
7May 27, 2021 19:315,08145,607,48614,227,0002,032,0002,527,232
8May 27, 2021 19:315,08838,351,34214,246,0002,035,0002,265,088
9May 27, 2021 19:315,09834,459,52714,276,0002,039,0002,387,968
10May 27, 2021 19:315,22859,368,41516,728,19102,273,280
11May 27, 2021 19:315,29071,387,01116,928,55202,281,472
12May 27, 2021 19:315,29875,735,93816,954,51202,277,376