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 3, 2024 04:43MylesMylesScore: 4,444Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 3, 2024 04:434,42730,270,73312,143,0002,023,0002,449,408
2Aug 3, 2024 04:434,43533,659,04412,165,0002,027,0002,281,472
3Aug 3, 2024 04:434,43738,629,92112,169,0002,028,0002,445,312
4Aug 3, 2024 04:434,44040,975,61012,179,0002,029,0002,281,472
5Aug 3, 2024 04:434,44239,166,09312,183,0002,030,0002,281,472
6Aug 3, 2024 04:434,44335,470,63112,186,0002,031,0002,441,216
7Aug 3, 2024 04:434,44439,174,03812,189,0002,031,0002,445,312
8Aug 3, 2024 04:434,44435,993,92412,190,0002,031,0002,281,472
9Aug 3, 2024 04:434,45835,793,28413,247,0001,019,0002,441,216
10Aug 3, 2024 04:434,70657,091,67915,057,77002,203,648
11Aug 3, 2024 04:434,74067,106,61015,167,61302,207,744
12Aug 3, 2024 04:434,74594,893,74015,183,42702,199,552