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 listNov 23, 2024 14:16MatthiasMatthiasScore: 4,918Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 23, 2024 14:164,90341,743,23414,644,0001,046,0002,273,280
2Nov 23, 2024 14:164,90833,144,58614,660,0001,047,0002,289,664
3Nov 23, 2024 14:164,91044,156,23314,664,0001,047,0002,289,664
4Nov 23, 2024 14:164,91544,680,40814,681,0001,048,0002,289,664
5Nov 23, 2024 14:164,91837,046,03515,736,00002,289,664
6Nov 23, 2024 14:164,95733,138,81614,870,000991,0002,289,664
7Nov 23, 2024 14:164,96244,746,01613,894,0001,984,0002,523,136
8Nov 23, 2024 14:164,96332,087,43713,897,0001,985,0002,289,664
9Nov 23, 2024 14:164,97632,330,13914,862,0001,061,0002,289,664