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 16, 2021 18:01Yuriy LyfenkoYuriy LyfenkoScore: 5,428Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2021 18:015,4064,244,041,26917,298,00002,523,136
2May 16, 2021 18:015,4064,239,573,78416,281,0001,017,0002,523,136
3May 16, 2021 18:015,4164,243,741,30816,312,0001,019,0002,265,088
4May 16, 2021 18:015,4184,246,723,86016,318,0001,019,0002,523,136
5May 16, 2021 18:015,4214,243,960,54917,348,00002,527,232
6May 16, 2021 18:015,4254,238,393,42017,361,00002,523,136
7May 16, 2021 18:015,4284,244,546,23617,369,00002,527,232
8May 16, 2021 18:015,4304,239,948,72016,354,0001,022,0002,523,136
9May 16, 2021 18:015,4394,241,145,13415,358,0002,047,0002,523,136
10May 16, 2021 18:016,1094,272,310,59619,549,75302,285,568
11May 16, 2021 18:016,1274,281,115,83219,606,53902,285,568
12May 16, 2021 18:016,1414,275,247,12219,650,61802,277,376