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 listJan 8, 2023 12:29Hal FHal FScore: 4,747Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 8, 2023 12:294,72332,063,89513,100,0002,015,0002,269,184
2Jan 8, 2023 12:294,73139,539,95414,130,0001,009,0002,277,376
3Jan 8, 2023 12:294,73337,103,95513,125,0002,019,0002,277,376
4Jan 8, 2023 12:294,73539,392,41713,132,0002,020,0002,289,664
5Jan 8, 2023 12:294,73533,044,76313,133,0002,020,0002,531,328
6Jan 8, 2023 12:294,74630,268,97813,162,0002,024,0002,285,568
7Jan 8, 2023 12:294,74737,388,55913,164,0002,025,0002,289,664
8Jan 8, 2023 12:294,75939,857,11013,199,0002,030,0002,289,664
9Jan 8, 2023 12:294,76832,714,08413,225,0002,034,0002,281,472
10Jan 8, 2023 12:294,97578,735,52815,920,95802,297,856
11Jan 8, 2023 12:294,98075,662,41015,936,78402,289,664
12Jan 8, 2023 12:294,98593,567,32515,950,71002,301,952