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 7, 2024 01:38zielajzielajScore: 4,649Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 7, 2024 01:384,56844,475,69314,618,00002,277,376
2Aug 7, 2024 01:384,57629,696,53613,597,0001,045,0002,383,872
3Aug 7, 2024 01:384,58431,696,91913,621,0001,047,0002,269,184
4Aug 7, 2024 01:384,59031,384,77413,640,0001,049,0002,273,280
5Aug 7, 2024 01:384,60346,981,87813,676,0001,052,0002,289,664
6Aug 7, 2024 01:384,60530,234,48613,685,0001,052,0002,273,280
7Aug 7, 2024 01:384,64941,695,90513,886,000991,0002,531,328
8Aug 7, 2024 01:384,65131,074,32312,900,0001,984,0002,289,664
9Aug 7, 2024 01:384,65234,047,13714,887,00002,281,472
10Aug 7, 2024 01:384,81891,376,80115,417,16202,297,856
11Aug 7, 2024 01:384,82283,334,78515,429,20102,306,048
12Aug 7, 2024 01:384,82678,894,62815,442,67802,310,144