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 13, 2021 20:11alex3dalex3dScore: 4,815Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 13, 2021 20:114,78332,100,85614,284,0001,020,0002,519,040
2May 13, 2021 20:114,80131,098,60815,364,00002,383,872
3May 13, 2021 20:114,80335,671,23314,344,0001,024,0002,392,064
4May 13, 2021 20:114,80534,872,67814,350,0001,025,0002,387,968
5May 13, 2021 20:114,80547,283,49613,327,0002,050,0002,260,992
6May 13, 2021 20:114,80730,850,31915,382,00002,523,136
7May 13, 2021 20:114,81536,464,77914,381,0001,027,0002,519,040
8May 13, 2021 20:114,81634,165,06914,384,0001,027,0002,383,872
9May 13, 2021 20:114,84835,102,98015,514,00002,473,984
10May 13, 2021 20:115,02893,322,22316,090,99902,281,472
11May 13, 2021 20:115,06873,503,74216,216,30302,289,664
12May 13, 2021 20:115,08790,238,61016,276,97202,277,376