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 24, 2021 14:35Dmitry DolgopolovDmitry DolgopolovScore: 5,216Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 24, 2021 14:355,18633,891,65416,594,00002,265,088
2May 24, 2021 14:355,18636,608,14915,558,0001,037,0002,265,088
3May 24, 2021 14:355,19138,189,33015,572,0001,038,0002,265,088
4May 24, 2021 14:355,19546,657,64416,623,00002,265,088
5May 24, 2021 14:355,19639,627,08716,628,00002,502,656
6May 24, 2021 14:355,20839,346,66416,664,00002,265,088
7May 24, 2021 14:355,21644,494,64816,691,00002,387,968
8May 24, 2021 14:355,21843,657,41515,653,0001,043,0002,396,160
9May 24, 2021 14:355,21846,438,71116,696,00002,265,088
10May 24, 2021 14:355,42581,992,72117,359,53102,281,472
11May 24, 2021 14:355,43077,780,77917,375,20002,273,280
12May 24, 2021 14:355,43770,778,32117,398,44602,285,568