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:30Hal FHal FScore: 4,859Success
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:304,81637,342,28314,385,0001,027,0002,289,664
2Jan 2, 2023 17:304,83233,898,13614,432,0001,030,0002,289,664
3Jan 2, 2023 17:304,83736,763,67515,479,00002,289,664
4Jan 2, 2023 17:304,84035,064,59114,455,0001,032,0002,273,280
5Jan 2, 2023 17:304,84040,129,80315,488,00002,289,664
6Jan 2, 2023 17:304,85134,549,60514,488,0001,034,0002,273,280
7Jan 2, 2023 17:304,85933,094,66614,512,0001,036,0002,269,184
8Jan 2, 2023 17:304,86030,538,85315,551,00002,289,664
9Jan 2, 2023 17:304,86440,067,07915,565,00002,269,184
10Jan 2, 2023 17:305,06366,609,03216,202,09702,297,856
11Jan 2, 2023 17:305,06792,473,50816,215,02802,301,952
12Jan 2, 2023 17:305,090116,391,33416,287,74102,301,952