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 2, 2024 16:06eternalhopeeternalhopeScore: 5,804Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 2, 2024 16:065,74842,425,26617,371,0001,021,0002,289,664
2Aug 2, 2024 16:065,75042,421,55017,378,0001,022,0002,289,664
3Aug 2, 2024 16:065,76742,716,36817,430,0001,025,0002,289,664
4Aug 2, 2024 16:065,76839,887,97418,457,00002,269,184
5Aug 2, 2024 16:065,76840,192,43917,434,0001,025,0002,387,968
6Aug 2, 2024 16:065,77834,750,46617,461,0001,027,0002,289,664
7Aug 2, 2024 16:065,80442,681,50417,542,0001,031,0002,404,352
8Aug 2, 2024 16:065,81442,999,48917,571,0001,033,0002,289,664
9Aug 2, 2024 16:065,82045,456,78218,624,00002,531,328
10Aug 2, 2024 16:065,98966,421,92519,164,90002,297,856
11Aug 2, 2024 16:066,02484,845,98919,276,41902,297,856
12Aug 2, 2024 16:066,035105,548,43119,312,83402,297,856