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 listApr 21, 2026 20:58BenBenScore: 10,934Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 21, 2026 20:5810,77649,710,5488,114,00026,371,0002,392,064
2Apr 21, 2026 20:5810,90253,871,1816,977,00027,910,0002,387,968
3Apr 21, 2026 20:5810,91754,257,4786,987,00027,949,0002,383,872
4Apr 21, 2026 20:5810,92754,049,6312,997,00031,972,0002,387,968
5Apr 21, 2026 20:5810,93456,147,5985,998,00028,992,0002,392,064
6Apr 21, 2026 20:5810,97153,951,2307,021,00028,087,0002,387,968
7Apr 21, 2026 20:5811,12055,676,0786,100,00029,484,0002,392,064
8Apr 21, 2026 20:5811,20254,043,1349,958,00025,890,0002,387,968
9Apr 21, 2026 20:5811,22754,500,7505,988,00029,941,0002,326,528