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 listDec 14, 2024 20:31RichardRichardScore: 30,159Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 14, 2024 20:3130,025122,533,93749,040,00047,039,0002,285,568
2Dec 14, 2024 20:3130,037122,497,81446,057,00050,062,0002,359,296
3Dec 14, 2024 20:3130,044122,552,99749,072,00047,069,0002,371,584
4Dec 14, 2024 20:3130,145126,090,65837,179,00059,285,0002,285,568
5Dec 14, 2024 20:3130,159124,542,72145,238,00051,270,0002,371,584
6Dec 14, 2024 20:3130,180125,634,68145,799,00050,777,0002,371,584
7Dec 14, 2024 20:3130,237120,514,89851,870,00044,887,0002,367,488
8Dec 14, 2024 20:3130,324120,862,24838,014,00059,023,0002,277,376
9Dec 14, 2024 20:3130,663126,569,03853,067,00045,056,0002,285,568