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 17:29Hal FHal FScore: 5,061Success
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 17:294,97136,291,15714,847,0001,060,0002,289,664
2Jan 2, 2023 17:294,98343,393,87513,953,0001,993,0002,269,184
3Jan 2, 2023 17:295,01432,836,12014,040,0002,005,0002,289,664
4Jan 2, 2023 17:295,01645,884,70014,044,0002,006,0002,273,280
5Jan 2, 2023 17:295,02338,441,45914,066,0002,009,0002,289,664
6Jan 2, 2023 17:295,05138,373,61715,154,0001,010,0002,289,664
7Jan 2, 2023 17:295,06134,561,19114,172,0002,024,0002,277,376
8Jan 2, 2023 17:295,09734,735,90414,271,0002,038,0002,289,664
9Jan 2, 2023 17:295,10837,776,60215,325,0001,021,0002,285,568
10Jan 2, 2023 17:295,19284,895,11716,614,44602,297,856
11Jan 2, 2023 17:295,20198,185,43316,641,80002,306,048
12Jan 2, 2023 17:295,22182,799,07016,708,22502,301,952