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 listAug 4, 2026 15:29C21C21Score: 41,275Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 4, 2026 15:2939,697137,862,15121,865,000105,166,0002,113,536
2Aug 4, 2026 15:2939,790137,642,73921,862,000105,468,0002,113,536
3Aug 4, 2026 15:2939,869137,624,85321,898,000105,684,0002,113,536
4Aug 4, 2026 15:2941,195143,239,12222,550,000109,275,0002,113,536
5Aug 4, 2026 15:2941,275143,448,10522,570,000109,513,0002,113,536
6Aug 4, 2026 15:2941,448144,144,42722,681,000109,955,0002,113,536
7Aug 4, 2026 15:2941,613143,878,06622,567,000110,595,0002,113,536
8Aug 4, 2026 15:2941,689144,140,71322,685,000110,721,0002,113,536
9Aug 4, 2026 15:2942,018144,559,78522,663,000111,795,0002,113,536