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 19, 2021 16:42Sergey StreminSergey StreminScore: 5,434Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 19, 2021 16:425,3983,040,255,09016,257,0001,016,0002,289,664
2May 19, 2021 16:425,4131,043,188,52515,283,0002,037,0002,281,472
3May 19, 2021 16:425,4278,040,817,53416,345,0001,021,0002,371,584
4May 19, 2021 16:425,4298,038,771,77516,352,0001,022,0002,277,376
5May 19, 2021 16:425,4343,044,283,23116,366,0001,022,0002,273,280
6May 19, 2021 16:425,4346,038,441,36915,343,0002,045,0002,289,664
7May 19, 2021 16:425,4343,039,382,61617,390,00002,277,376
8May 19, 2021 16:425,4456,038,351,99716,400,0001,025,0002,277,376
9May 19, 2021 16:425,4467,042,109,97916,403,0001,025,0002,535,424
10May 19, 2021 16:425,6313,108,142,76118,019,29602,293,760
11May 19, 2021 16:425,6559,081,479,72018,096,63802,293,760
12May 19, 2021 16:425,6799,089,687,77318,171,85802,293,760