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 9, 2024 16:58Casper BelierCasper BelierScore: 5,802Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 9, 2024 16:585,77642,846,24518,482,00002,277,376
2Aug 9, 2024 16:585,78243,243,36917,475,0001,027,0002,289,664
3Aug 9, 2024 16:585,78434,355,18917,480,0001,028,0002,269,184
4Aug 9, 2024 16:585,78642,775,73617,488,0001,028,0002,289,664
5Aug 9, 2024 16:585,79040,403,39718,528,00002,273,280
6Aug 9, 2024 16:585,79241,306,31617,505,0001,029,0002,289,664
7Aug 9, 2024 16:585,80245,471,66617,534,0001,031,0002,523,136
8Aug 9, 2024 16:585,80239,927,39717,535,0001,031,0002,269,184
9Aug 9, 2024 16:585,83143,463,56917,624,0001,036,0002,289,664
10Aug 9, 2024 16:586,036101,653,35019,315,53602,297,856
11Aug 9, 2024 16:586,054106,242,94419,371,88602,297,856
12Aug 9, 2024 16:586,06461,768,59019,403,43802,174,976