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 18:45Sergey StreminSergey StreminScore: 5,446Success
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 18:455,4077,042,187,96215,268,0002,035,0002,277,376
2May 22, 2021 18:455,4175,041,111,89816,314,0001,019,0002,273,280
3May 22, 2021 18:455,4282,042,512,35617,370,00002,277,376
4May 22, 2021 18:455,4317,038,961,90816,358,0001,022,0002,535,424
5May 22, 2021 18:455,4353,037,819,75216,368,0001,023,0002,281,472
6May 22, 2021 18:455,4469,043,254,51517,426,00002,281,472
7May 22, 2021 18:455,4465,038,618,78216,402,0001,025,0002,277,376
8May 22, 2021 18:455,4461,039,664,50316,403,0001,025,0002,277,376
9May 22, 2021 18:455,46343,468,21316,454,0001,028,0002,277,376
10May 22, 2021 18:455,6549,078,565,88118,093,34102,289,664
11May 22, 2021 18:455,6594,097,618,20718,108,38602,297,856
12May 22, 2021 18:455,6633,073,980,54718,120,62702,293,760
13May 22, 2021 18:455,6754,083,176,59618,160,19302,293,760
14May 22, 2021 18:455,6798,078,231,36418,171,40202,297,856
15May 22, 2021 18:456,1522,089,613,23319,685,14502,293,760