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 1, 2023 15:37Hal FHal FScore: 5,577Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 1, 2023 15:375,48439,472,51516,518,0001,032,0002,289,664
2Jan 1, 2023 15:375,49139,033,33117,570,00002,387,968
3Jan 1, 2023 15:375,50446,880,16116,577,0001,036,0002,519,040
4Jan 1, 2023 15:375,51743,700,73017,653,00002,289,664
5Jan 1, 2023 15:375,52643,543,67617,684,00002,289,664
6Jan 1, 2023 15:375,53138,281,52116,659,0001,041,0002,531,328
7Jan 1, 2023 15:375,57745,322,04715,863,0001,982,0002,289,664
8Jan 1, 2023 15:375,57949,818,66815,870,0001,983,0002,265,088
9Jan 1, 2023 15:375,57946,514,43816,863,000991,0002,289,664
10Jan 1, 2023 15:376,17693,925,79719,762,20502,289,664
11Jan 1, 2023 15:376,18490,157,76219,788,77802,293,760
12Jan 1, 2023 15:376,21284,433,17519,877,21202,293,760