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 listJul 6, 2021 00:26Yuriy LyfenkoYuriy LyfenkoScore: 5,059Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2021 00:265,0031,043,741,45414,008,0002,001,0002,265,088
2Jul 6, 2021 00:265,0101,047,946,43714,028,0002,004,0002,523,136
3Jul 6, 2021 00:265,0161,040,261,73815,048,0001,003,0002,260,992
4Jul 6, 2021 00:265,0221,042,164,83614,062,0002,008,0002,260,992
5Jul 6, 2021 00:265,0271,042,286,60514,076,0002,010,0002,260,992
6Jul 6, 2021 00:265,0381,044,405,83015,115,0001,007,0002,523,136
7Jul 6, 2021 00:265,0591,039,741,86515,177,0001,011,0002,523,136
8Jul 6, 2021 00:265,0721,049,749,35515,216,0001,014,0002,523,136
9Jul 6, 2021 00:265,0841,048,593,40615,252,0001,016,0002,260,992
10Jul 6, 2021 00:265,1731,078,679,33716,554,16302,244,608
11Jul 6, 2021 00:265,1871,086,242,96216,599,70102,273,280
12Jul 6, 2021 00:265,2111,069,704,92716,675,90402,244,608