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 listJan 2, 2023 16:31Jack FrigaardJack FrigaardScore: 5,309Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2023 16:315,13647,267,55016,434,00002,383,872
2Jan 2, 2023 16:315,15542,430,83215,465,0001,031,0002,523,136
3Jan 2, 2023 16:315,16733,479,39315,502,0001,033,0002,269,184
4Jan 2, 2023 16:315,17143,414,74416,547,00002,285,568
5Jan 2, 2023 16:315,17840,037,10616,568,00002,277,376
6Jan 2, 2023 16:315,27451,861,91214,893,0001,985,0002,285,568
7Jan 2, 2023 16:315,30949,563,69014,990,0001,998,0002,285,568
8Jan 2, 2023 16:315,35769,595,72117,142,96602,301,952
9Jan 2, 2023 16:315,36337,592,11516,151,0001,009,0002,285,568
10Jan 2, 2023 16:315,36345,106,67916,152,0001,009,0002,273,280
11Jan 2, 2023 16:315,51585,677,72217,647,71102,252,800
12Jan 2, 2023 16:315,52986,554,82017,693,77702,297,856