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 listJan 3, 2023 20:59Hal FHal FScore: 4,774Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 3, 2023 20:594,74632,717,49113,162,0002,025,0002,281,472
2Jan 3, 2023 20:594,75434,373,27313,184,0002,028,0002,273,280
3Jan 3, 2023 20:594,75436,093,49113,186,0002,028,0002,273,280
4Jan 3, 2023 20:594,76144,020,94713,205,0002,031,0002,289,664
5Jan 3, 2023 20:594,76639,151,01613,217,0002,033,0002,289,664
6Jan 3, 2023 20:594,76830,315,74013,225,0002,034,0002,277,376
7Jan 3, 2023 20:594,77444,917,87613,241,0002,037,0002,273,280
8Jan 3, 2023 20:594,77731,535,86413,248,0002,038,0002,265,088
9Jan 3, 2023 20:594,78432,120,10313,268,0002,041,0002,289,664
10Jan 3, 2023 20:594,96492,998,33315,883,72702,293,760
11Jan 3, 2023 20:594,97390,869,40815,914,32402,301,952
12Jan 3, 2023 20:594,99592,934,76515,982,94702,297,856