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 listAug 10, 2022 16:17Bernard TeoBernard TeoScore: 5,564Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 10, 2022 16:185,54388,545,15017,738,31602,289,664
2Aug 10, 2022 16:175,54786,151,88317,750,27202,297,856
3Aug 10, 2022 16:175,54782,140,94417,751,96102,281,472
4Aug 10, 2022 16:185,54970,715,05117,757,21802,285,568
5Aug 10, 2022 16:175,56486,425,40517,804,28902,297,856
6Aug 10, 2022 16:185,58092,476,69417,857,38102,297,856
7Aug 10, 2022 16:185,58391,047,48417,864,33002,297,856
8Aug 10, 2022 16:185,58373,090,60917,866,48602,289,664
9Aug 10, 2022 16:185,58862,976,66017,880,51902,289,664