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 3, 2023 21:15Hal FHal FScore: 4,655Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 3, 2023 21:154,64741,066,92312,887,0001,982,0002,289,664
2Jan 3, 2023 21:154,64730,679,41813,808,0001,062,0002,273,280
3Jan 3, 2023 21:154,64838,989,43813,881,000991,0002,519,040
4Jan 3, 2023 21:154,65037,965,34712,897,0001,984,0002,527,232
5Jan 3, 2023 21:154,65334,829,89413,898,000992,0002,289,664
6Jan 3, 2023 21:154,65335,667,23213,899,000992,0002,277,376
7Jan 3, 2023 21:154,65535,516,54012,911,0001,986,0002,289,664
8Jan 3, 2023 21:154,67239,466,02213,954,000996,0002,281,472
9Jan 3, 2023 21:154,67733,074,92512,970,0001,995,0002,289,664
10Jan 3, 2023 21:154,87176,991,32315,587,43502,297,856
11Jan 3, 2023 21:154,88364,282,71615,624,30802,293,760
12Jan 3, 2023 21:154,89887,105,72215,673,60702,297,856