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 listFeb 27, 2024 11:28matsuoka-601matsuoka-601Score: 4,968Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 27, 2024 11:284,92341,414,92514,704,0001,050,0002,514,944
2Feb 27, 2024 11:284,95729,354,42014,870,000991,0002,392,064
3Feb 27, 2024 11:284,96045,212,27913,888,0001,984,0002,400,256
4Feb 27, 2024 11:284,96331,930,89415,882,00002,293,760
5Feb 27, 2024 11:284,96332,751,77315,882,00002,404,352
6Feb 27, 2024 11:284,96736,850,99114,901,000993,0002,293,760
7Feb 27, 2024 11:284,96840,762,22713,910,0001,987,0002,396,160
8Feb 27, 2024 11:284,96834,116,89513,911,0001,987,0002,396,160
9Feb 27, 2024 11:285,00344,106,54314,008,0002,001,0002,486,272
10Feb 27, 2024 11:285,11980,212,63116,381,40902,269,184
11Feb 27, 2024 11:285,13479,935,69016,428,60802,269,184
12Feb 27, 2024 11:285,14796,027,80016,470,68802,269,184