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 listMay 30, 2022 13:36Keichi TakahashiKeichi TakahashiScore: 5,273Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 30, 2022 13:365,23032,239,16615,690,0001,046,0002,265,088
2May 30, 2022 13:365,26142,651,09914,856,0001,980,0002,265,088
3May 30, 2022 13:365,26845,472,20015,866,000991,0002,383,872
4May 30, 2022 13:365,27138,465,87715,874,000992,0002,506,752
5May 30, 2022 13:365,27237,438,55915,879,000992,0002,265,088
6May 30, 2022 13:365,27339,010,83115,882,000992,0002,387,968
7May 30, 2022 13:365,27342,913,73315,883,000992,0002,387,968
8May 30, 2022 13:365,27547,062,30216,879,00002,265,088
9May 30, 2022 13:365,27541,533,67115,887,000992,0002,383,872
10May 30, 2022 13:365,45389,692,22017,449,94002,273,280
11May 30, 2022 13:365,45897,719,91217,465,41302,277,376
12May 30, 2022 13:365,46398,407,72417,480,46202,285,568