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 14:11mgildermgilderScore: 5,640Success
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 14:115,58146,956,66716,868,000992,0002,375,680
2Aug 2, 2024 14:115,61344,906,64015,967,0001,995,0002,371,584
3Aug 2, 2024 14:115,61451,757,20716,968,000998,0002,387,968
4Aug 2, 2024 14:115,61843,983,01915,981,0001,997,0002,289,664
5Aug 2, 2024 14:115,62249,741,47015,992,0001,999,0002,289,664
6Aug 2, 2024 14:115,63046,056,88416,015,0002,001,0002,289,664
7Aug 2, 2024 14:115,64049,248,19816,044,0002,005,0002,375,680
8Aug 2, 2024 14:115,65546,088,84117,091,0001,005,0002,289,664
9Aug 2, 2024 14:115,66041,598,90316,100,0002,012,0002,289,664
10Aug 2, 2024 14:115,83892,886,48418,680,01502,236,416
11Aug 2, 2024 14:115,88765,614,49618,839,67602,236,416
12Aug 2, 2024 14:115,89781,144,29618,869,66402,240,512