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 25, 2021 15:40Yuriy LyfenkoYuriy LyfenkoScore: 5,100Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 25, 2021 15:405,05343,098,27414,147,0002,021,0002,387,968
2May 25, 2021 15:405,05335,380,26814,149,0002,021,0002,265,088
3May 25, 2021 15:405,08346,054,38015,248,0001,016,0002,392,064
4May 25, 2021 15:405,09130,615,09014,256,0002,036,0002,527,232
5May 25, 2021 15:405,09645,445,20515,288,0001,019,0002,392,064
6May 25, 2021 15:405,09738,634,73016,311,00002,265,088
7May 25, 2021 15:405,10042,563,65415,300,0001,020,0002,392,064
8May 25, 2021 15:405,12947,789,65416,414,00002,396,160
9May 25, 2021 15:405,13640,538,33815,408,0001,027,0002,383,872
10May 25, 2021 15:405,26151,907,73116,834,48002,273,280
11May 25, 2021 15:405,28363,565,40116,905,36602,273,280
12May 25, 2021 15:405,31571,793,81417,007,56802,277,376