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 listJun 3, 2021 20:55Yuriy LyfenkoYuriy LyfenkoScore: 5,033Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 3, 2021 20:555,006537,532,05014,017,0002,002,0002,277,376
2Jun 3, 2021 20:555,006543,043,75815,018,0001,001,0002,277,376
3Jun 3, 2021 20:555,009538,822,96715,027,0001,001,0002,400,256
4Jun 3, 2021 20:555,011538,915,90514,031,0002,004,0002,277,376
5Jun 3, 2021 20:555,026538,293,36815,079,0001,005,0002,277,376
6Jun 3, 2021 20:555,033543,298,14915,099,0001,006,0002,277,376
7Jun 3, 2021 20:555,033539,434,14514,093,0002,013,0002,285,568
8Jun 3, 2021 20:555,035533,257,24014,098,0002,014,0002,285,568
9Jun 3, 2021 20:555,039541,407,61514,110,0002,015,0002,281,472
10Jun 3, 2021 20:555,143570,936,65016,458,01402,260,992
11Jun 3, 2021 20:555,158575,499,49616,506,09602,256,896
12Jun 3, 2021 20:555,172580,186,40216,551,94602,281,472