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 27, 2021 18:05Yurkov AlekseyYurkov AlekseyScore: 5,621Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 27, 2021 18:055,60141,211,06415,932,0001,991,0002,289,664
2May 27, 2021 18:055,60143,022,97816,929,000995,0002,273,280
3May 27, 2021 18:055,60738,621,29916,945,000996,0002,289,664
4May 27, 2021 18:055,61335,128,46016,964,000997,0002,527,232
5May 27, 2021 18:055,61637,798,28815,974,0001,996,0002,527,232
6May 27, 2021 18:055,62138,626,97615,989,0001,998,0002,289,664
7May 27, 2021 18:055,62143,305,24215,990,0001,998,0002,289,664
8May 27, 2021 18:055,62244,710,13515,991,0001,998,0002,289,664
9May 27, 2021 18:055,63342,192,38616,023,0002,002,0002,289,664
10May 27, 2021 18:055,78179,532,78018,499,18602,297,856
11May 27, 2021 18:055,79247,900,27318,533,19502,179,072
12May 27, 2021 18:055,88295,950,47518,822,85102,293,760