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 11, 2021 18:36Yuriy LyfenkoYuriy LyfenkoScore: 5,783Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2021 18:365,73651,615,95718,356,00002,396,160
2May 11, 2021 18:365,74339,866,92518,379,00002,387,968
3May 11, 2021 18:365,74934,051,65716,353,0002,044,0002,260,992
4May 11, 2021 18:365,75340,115,09617,387,0001,022,0002,506,752
5May 11, 2021 18:365,75438,114,86516,368,0002,046,0002,396,160
6May 11, 2021 18:365,75646,990,89617,395,0001,023,0002,519,040
7May 11, 2021 18:365,75939,805,20116,381,0002,047,0002,519,040
8May 11, 2021 18:365,76240,981,85816,390,0002,048,0002,519,040
9May 11, 2021 18:365,76332,243,24216,393,0002,049,0002,506,752
10May 11, 2021 18:365,76444,017,25017,422,0001,024,0002,519,040
11May 11, 2021 18:365,76645,410,84116,402,0002,050,0002,519,040
12May 11, 2021 18:365,77940,861,44417,467,0001,027,0002,519,040
13May 11, 2021 18:365,78347,129,40516,448,0002,056,0002,383,872
14May 11, 2021 18:365,78338,556,56217,476,0001,028,0002,519,040
15May 11, 2021 18:365,78844,465,99717,492,0001,028,0002,519,040
16May 11, 2021 18:365,78939,276,78917,497,0001,029,0002,523,136
17May 11, 2021 18:365,78939,627,36218,525,00002,387,968
18May 11, 2021 18:365,79742,035,09216,488,0002,061,0002,510,848
19May 11, 2021 18:366,09876,981,97919,512,67602,281,472
20May 11, 2021 18:366,11663,543,47319,571,89502,273,280
21May 11, 2021 18:366,11975,802,90019,580,96102,285,568
22May 11, 2021 18:366,13789,249,85019,639,74102,277,376
23May 11, 2021 18:366,14981,253,13319,676,92102,281,472
24May 11, 2021 18:366,17379,519,30519,753,58602,285,568