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:33Keichi 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:335,23432,377,06615,704,0001,046,0002,265,088
2May 30, 2022 13:335,24244,296,27715,727,0001,048,0002,383,872
3May 30, 2022 13:335,26346,193,69716,842,00002,527,232
4May 30, 2022 13:335,27047,447,15915,873,000992,0002,265,088
5May 30, 2022 13:335,27348,316,01815,882,000992,0002,265,088
6May 30, 2022 13:335,27347,240,64814,889,0001,985,0002,265,088
7May 30, 2022 13:335,27334,370,71116,874,00002,396,160
8May 30, 2022 13:335,27533,450,33115,888,000993,0002,265,088
9May 30, 2022 13:335,27733,405,14614,901,0001,986,0002,392,064
10May 30, 2022 13:335,44867,196,12417,432,30102,277,376
11May 30, 2022 13:335,44886,851,81817,435,11602,273,280
12May 30, 2022 13:335,46698,448,30517,491,60902,273,280