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 listFeb 11, 2023 22:16LiamLiamScore: 5,498Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 11, 2023 22:165,46341,074,41316,454,0001,028,0002,273,280
2Feb 11, 2023 22:165,46939,854,41616,473,0001,029,0002,277,376
3Feb 11, 2023 22:165,47340,581,24716,482,0001,030,0002,273,280
4Feb 11, 2023 22:165,47640,423,84116,492,0001,030,0002,265,088
5Feb 11, 2023 22:165,48240,070,70315,478,0002,063,0002,277,376
6Feb 11, 2023 22:165,49640,573,15616,553,0001,034,0002,277,376
7Feb 11, 2023 22:165,49839,480,64616,558,0001,034,0002,277,376
8Feb 11, 2023 22:165,50036,037,56216,565,0001,035,0002,277,376
9Feb 11, 2023 22:165,52745,519,46716,646,0001,040,0002,273,280
10Feb 11, 2023 22:165,64988,182,07018,076,46402,293,760
11Feb 11, 2023 22:165,66985,702,04818,140,19802,285,568
12Feb 11, 2023 22:165,68988,803,48918,203,87902,297,856