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 05:04MylesMylesScore: 4,527Success
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 05:044,50030,630,81013,371,0001,028,0002,281,472
2Aug 3, 2024 05:044,50529,561,48513,388,0001,029,0002,445,312
3Aug 3, 2024 05:044,51229,406,50613,406,0001,031,0002,281,472
4Aug 3, 2024 05:044,51635,397,59813,418,0001,032,0002,453,504
5Aug 3, 2024 05:044,51832,388,03113,424,0001,032,0002,281,472
6Aug 3, 2024 05:044,51929,487,56713,428,0001,032,0002,277,376
7Aug 3, 2024 05:044,52734,939,28413,453,0001,034,0002,449,408
8Aug 3, 2024 05:044,53137,153,38813,463,0001,035,0002,441,216
9Aug 3, 2024 05:044,53131,289,06513,464,0001,035,0002,281,472
10Aug 3, 2024 05:044,79184,536,77815,331,08502,330,624
11Aug 3, 2024 05:044,80784,734,46015,381,05602,203,648
12Aug 3, 2024 05:044,810108,522,82915,391,64102,211,840