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 17, 2024 05:38Yuriy LyfenkoYuriy LyfenkoScore: 4,791Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 17, 2024 05:384,74049,720,36714,156,0001,011,0002,383,872
2Aug 17, 2024 05:384,74139,422,48613,149,0002,022,0002,392,064
3Aug 17, 2024 05:384,75048,171,95813,175,0002,026,0002,392,064
4Aug 17, 2024 05:384,75441,670,59013,186,0002,028,0002,396,160
5Aug 17, 2024 05:384,77440,102,92013,241,0002,037,0002,392,064
6Aug 17, 2024 05:384,77539,747,93813,243,0002,037,0002,392,064
7Aug 17, 2024 05:384,79138,267,91815,330,00002,269,184
8Aug 17, 2024 05:384,79244,744,15014,311,0001,022,0002,269,184
9Aug 17, 2024 05:384,82042,255,19713,367,0002,056,0002,383,872
10Aug 17, 2024 05:385,29070,821,99216,926,42102,269,184
11Aug 17, 2024 05:385,29679,342,86016,948,72102,265,088
12Aug 17, 2024 05:385,30193,119,72016,964,66102,277,376