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 6, 2024 15:17Dan StolyarovDan StolyarovScore: 2,769,641Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 6, 2024 15:172,765,8988,883,523,6518,809,887,00040,985,0002,281,472
2Nov 6, 2024 15:172,766,0058,884,864,4008,824,228,00026,988,0002,289,664
3Nov 6, 2024 15:172,768,0128,889,335,6568,817,655,00039,984,0002,281,472
4Nov 6, 2024 15:172,769,3158,891,381,9268,828,821,00032,988,0002,281,472
5Nov 6, 2024 15:172,769,6418,892,182,5208,819,873,00042,979,0002,523,136
6Nov 6, 2024 15:172,769,6968,891,210,2008,834,043,00028,983,0002,293,760
7Nov 6, 2024 15:172,769,7898,889,923,9618,838,335,00024,989,0002,281,472
8Nov 6, 2024 15:172,769,9548,895,505,8578,826,872,00036,982,0002,281,472
9Nov 6, 2024 15:172,774,3868,911,020,3918,843,055,00034,980,0002,293,760