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 17, 2021 21:15Yuriy LyfenkoYuriy LyfenkoScore: 5,383Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2021 21:155,3482,581,484,08517,114,00002,519,040
2May 17, 2021 21:155,3531,930,052,74215,225,0001,903,0002,260,992
3May 17, 2021 21:155,357550,748,85715,125,0002,016,0002,519,040
4May 17, 2021 21:155,368580,701,34815,270,0001,908,0002,260,992
5May 17, 2021 21:155,3711,518,528,75115,277,0001,909,0002,260,992
6May 17, 2021 21:155,3761,358,033,39416,191,0001,011,0002,519,040
7May 17, 2021 21:155,383364,822,38515,201,0002,026,0002,379,776
8May 17, 2021 21:155,3932,080,444,91715,341,0001,917,0002,260,992
9May 17, 2021 21:155,4031,692,159,46715,370,0001,921,0002,523,136
10May 17, 2021 21:155,574241,675,82617,835,75202,285,568
11May 17, 2021 21:155,587245,531,66217,877,76502,281,472
12May 17, 2021 21:155,6131,297,369,97017,962,23302,285,568