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 listJul 13, 2024 19:03kytanskytansScore: 5,517Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 13, 2024 19:035,48344,259,46516,515,0001,032,0002,281,472
2Jul 13, 2024 19:035,48740,136,20516,527,0001,032,0002,293,760
3Jul 13, 2024 19:035,48938,770,30416,531,0001,033,0002,273,280
4Jul 13, 2024 19:035,50743,957,48416,586,0001,036,0002,293,760
5Jul 13, 2024 19:035,50848,595,38316,589,0001,036,0002,285,568
6Jul 13, 2024 19:035,51545,489,52416,611,0001,038,0002,277,376
7Jul 13, 2024 19:035,51745,271,83816,616,0001,038,0002,293,760
8Jul 13, 2024 19:035,53944,011,86016,684,0001,042,0002,293,760
9Jul 13, 2024 19:035,58445,181,78215,883,0001,985,0002,281,472
10Jul 13, 2024 19:035,71679,758,24618,290,03002,306,048
11Jul 13, 2024 19:035,74581,449,65418,384,57202,301,952
12Jul 13, 2024 19:035,77582,905,22418,478,75702,183,168