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:56Hal FHal FScore: 4,860Success
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:564,82233,755,58214,403,0001,028,0002,285,568
2Jan 2, 2023 16:564,82741,385,11114,418,0001,029,0002,273,280
3Jan 2, 2023 16:564,82833,191,30414,421,0001,030,0002,285,568
4Jan 2, 2023 16:564,83037,235,01114,426,0001,030,0002,293,760
5Jan 2, 2023 16:564,83233,568,54214,431,0001,030,0002,293,760
6Jan 2, 2023 16:564,85437,956,78914,497,0001,035,0002,293,760
7Jan 2, 2023 16:564,86032,361,23414,516,0001,036,0002,273,280
8Jan 2, 2023 16:564,86230,369,52514,521,0001,037,0002,265,088
9Jan 2, 2023 16:564,87637,170,36114,562,0001,040,0002,293,760
10Jan 2, 2023 16:565,09382,372,07116,298,51402,174,976
11Jan 2, 2023 16:565,12258,006,96916,388,88102,306,048
12Jan 2, 2023 16:565,12593,453,89716,400,82202,297,856