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 21, 2021 16:40Dmitry DolgopolovDmitry DolgopolovScore: 5,319Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 21, 2021 16:405,27635,168,17014,897,0001,986,0002,387,968
2May 21, 2021 16:405,28546,011,16514,922,0001,989,0002,392,064
3May 21, 2021 16:405,28945,117,03115,930,000995,0002,265,088
4May 21, 2021 16:405,29333,770,46514,945,0001,992,0002,265,088
5May 21, 2021 16:405,29434,691,94315,944,000996,0002,383,872
6May 21, 2021 16:405,31443,252,94316,005,0001,000,0002,265,088
7May 21, 2021 16:405,31842,194,68815,016,0002,002,0002,387,968
8May 21, 2021 16:405,31946,904,60215,018,0002,002,0002,387,968
9May 21, 2021 16:405,32036,265,37916,024,0001,001,0002,392,064
10May 21, 2021 16:405,50390,022,16417,609,68102,289,664
11May 21, 2021 16:405,50658,737,35417,619,62002,289,664
12May 21, 2021 16:405,52675,710,06617,682,67302,281,472
13May 21, 2021 16:405,53960,097,96217,723,31802,285,568
14May 21, 2021 16:405,55779,884,45917,783,55702,285,568
15May 21, 2021 16:405,57286,048,89517,830,74302,269,184