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 7, 2024 15:46CountHarebourgCountHarebourgScore: 5,852Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 7, 2024 15:465,81235,782,89017,565,0001,033,0002,273,280
2Nov 7, 2024 15:465,83549,442,58617,635,0001,037,0002,523,136
3Nov 7, 2024 15:465,84535,088,92117,665,0001,039,0002,371,584
4Nov 7, 2024 15:465,84744,445,23617,670,0001,039,0002,289,664
5Nov 7, 2024 15:465,85247,117,46618,727,00002,289,664
6Nov 7, 2024 15:465,89037,230,21917,856,000992,0002,289,664
7Nov 7, 2024 15:465,89746,458,46216,884,0001,986,0002,289,664
8Nov 7, 2024 15:465,89846,818,15016,886,0001,986,0002,265,088
9Nov 7, 2024 15:465,91844,198,24916,943,0001,993,0002,289,664