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, 2021 17:06Yuriy LyfenkoYuriy LyfenkoScore: 5,063Success
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, 2021 17:065,02138,911,12015,063,0001,004,0002,281,472
2May 30, 2021 17:065,02836,462,43714,080,0002,011,0002,408,448
3May 30, 2021 17:065,04137,802,76015,122,0001,008,0002,281,472
4May 30, 2021 17:065,04345,196,91414,119,0002,017,0002,281,472
5May 30, 2021 17:065,05132,104,90715,154,0001,010,0002,281,472
6May 30, 2021 17:065,05343,033,33714,149,0002,021,0002,404,352
7May 30, 2021 17:065,06342,954,70214,178,0002,025,0002,281,472
8May 30, 2021 17:065,07837,712,71315,234,0001,015,0002,519,040
9May 30, 2021 17:065,09132,338,10815,274,0001,018,0002,510,848
10May 30, 2021 17:065,19882,263,32816,632,78502,256,896
11May 30, 2021 17:065,23067,102,12316,737,42902,293,760
12May 30, 2021 17:065,24589,425,29816,784,12102,289,664