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 4, 2024 22:11zielajzielajScore: 4,725Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 4, 2024 22:114,70535,085,77713,049,0002,007,0002,265,088
2Aug 4, 2024 22:114,70732,971,33513,054,0002,008,0002,269,184
3Aug 4, 2024 22:114,71036,637,42113,062,0002,009,0002,289,664
4Aug 4, 2024 22:114,71335,720,21213,070,0002,010,0002,277,376
5Aug 4, 2024 22:114,72132,432,66714,101,0001,007,0002,289,664
6Aug 4, 2024 22:114,72237,461,26213,096,0002,014,0002,531,328
7Aug 4, 2024 22:114,72531,234,09213,104,0002,016,0002,289,664
8Aug 4, 2024 22:114,73033,127,57313,119,0002,018,0002,289,664
9Aug 4, 2024 22:114,73731,874,11913,138,0002,021,0002,277,376
10Aug 4, 2024 22:114,94298,352,18115,815,57002,252,800
11Aug 4, 2024 22:114,97786,561,78315,927,44902,306,048
12Aug 4, 2024 22:114,98484,932,32215,947,22202,183,168