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 15, 2025 02:04BenBenScore: 4,646Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 15, 2025 02:054,60433,556,01513,680,0001,052,0002,523,136
2Apr 15, 2025 02:054,64332,335,71213,869,000990,0002,506,752
3Apr 15, 2025 01:524,64630,564,91312,885,0001,982,0002,392,064
4Apr 15, 2025 01:524,64632,115,77013,877,000991,0002,523,136
5Apr 15, 2025 02:054,64642,240,68213,875,000991,0002,396,160
6Apr 15, 2025 02:044,64733,149,01412,887,0001,982,0002,387,968
7Apr 15, 2025 02:044,64730,846,92914,871,00002,523,136
8Apr 15, 2025 02:044,64931,003,74012,894,0001,983,0002,387,968
9Apr 15, 2025 01:524,65032,173,93313,889,000992,0002,523,136