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 listJul 24, 2024 01:19emily graceemily graceScore: 4,907Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 24, 2024 01:194,86931,331,74314,542,0001,038,0002,277,376
2Jul 24, 2024 01:194,88032,896,19614,575,0001,041,0002,289,664
3Jul 24, 2024 01:194,88531,970,75214,589,0001,042,0002,281,472
4Jul 24, 2024 01:194,88733,051,38014,597,0001,042,0002,273,280
5Jul 24, 2024 01:194,89846,983,74715,674,00002,289,664
6Jul 24, 2024 01:194,90731,922,63214,655,0001,046,0002,281,472
7Jul 24, 2024 01:194,90733,254,28515,702,00002,527,232
8Jul 24, 2024 01:194,91540,496,50614,679,0001,048,0002,289,664
9Jul 24, 2024 01:194,96345,775,11513,895,0001,985,0002,289,664
10Jul 24, 2024 01:195,13180,292,26016,418,19002,301,952
11Jul 24, 2024 01:195,15179,118,80616,484,04702,293,760
12Jul 24, 2024 01:195,153105,017,07016,488,53702,297,856