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 4, 2024 22:19zielajzielajScore: 4,672Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 4, 2024 22:194,65731,592,43312,916,0001,987,0002,281,472
2Aug 4, 2024 22:194,65838,123,82813,840,0001,064,0002,289,664
3Aug 4, 2024 22:194,65838,537,94813,842,0001,064,0002,277,376
4Aug 4, 2024 22:194,66143,007,77313,921,000994,0002,289,664
5Aug 4, 2024 22:194,66231,395,97212,929,0001,989,0002,289,664
6Aug 4, 2024 22:194,67031,268,26312,952,0001,992,0002,277,376
7Aug 4, 2024 22:194,67240,709,23512,958,0001,993,0002,273,280
8Aug 4, 2024 22:194,68233,267,46713,985,000998,0002,289,664
9Aug 4, 2024 22:194,70942,062,09613,061,0002,009,0002,273,280
10Aug 4, 2024 22:194,89784,793,88615,671,57602,301,952
11Aug 4, 2024 22:194,90966,833,62215,708,83502,306,048
12Aug 4, 2024 22:194,92588,977,94815,758,55302,183,168