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 listNov 23, 2024 11:00E SequeiraE SequeiraScore: 5,712Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 23, 2024 11:005,68240,745,90616,162,0002,020,0002,273,280
2Nov 23, 2024 11:005,68845,896,36217,189,0001,011,0002,289,664
3Nov 23, 2024 11:005,68940,670,84816,183,0002,022,0002,289,664
4Nov 23, 2024 11:005,70634,444,62817,246,0001,014,0002,265,088
5Nov 23, 2024 11:005,71245,837,73016,247,0002,030,0002,289,664
6Nov 23, 2024 11:005,71645,023,08716,260,0002,032,0002,269,184
7Nov 23, 2024 11:005,73048,775,44716,300,0002,037,0002,289,664
8Nov 23, 2024 11:005,73939,031,15116,326,0002,040,0002,289,664
9Nov 23, 2024 11:005,74442,153,05617,361,0001,021,0002,289,664