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 22, 2021 12:36Vladimir KuryakovVladimir KuryakovScore: 5,741Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 22, 2021 12:365,68746,956,21716,176,0002,022,0002,519,040
2May 22, 2021 12:365,70043,593,09416,213,0002,026,0002,392,064
3May 22, 2021 12:365,70443,632,01316,224,0002,028,0002,383,872
4May 22, 2021 12:365,70543,344,86115,213,0003,042,0002,392,064
5May 22, 2021 12:365,71245,674,77316,248,0002,031,0002,519,040
6May 22, 2021 12:365,71543,503,85816,257,0002,032,0002,383,872
7May 22, 2021 12:365,72140,089,39817,290,0001,017,0002,519,040
8May 22, 2021 12:365,74140,724,04418,370,00002,519,040
9May 22, 2021 12:365,76240,762,01618,437,00002,519,040
10May 22, 2021 12:365,97994,056,48819,133,66102,273,280
11May 22, 2021 12:365,99181,634,95419,170,62002,281,472
12May 22, 2021 12:365,99788,056,37619,190,76802,281,472
13May 22, 2021 12:366,01090,132,25119,230,65302,273,280
14May 22, 2021 12:366,03967,636,44319,325,12702,285,568
15May 22, 2021 12:366,04187,933,80119,329,68802,281,472