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 18:50Hal FHal FScore: 4,913Success
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 18:504,85331,810,37414,493,0001,035,0002,277,376
2Jan 3, 2023 18:504,86342,029,94614,526,0001,037,0002,289,664
3Jan 3, 2023 18:504,88036,303,33514,575,0001,041,0002,289,664
4Jan 3, 2023 18:504,89133,646,80615,651,00002,277,376
5Jan 3, 2023 18:504,89745,188,53015,671,00002,273,280
6Jan 3, 2023 18:504,90840,261,79914,660,0001,047,0002,265,088
7Jan 3, 2023 18:504,91341,808,81814,672,0001,048,0002,289,664
8Jan 3, 2023 18:504,96049,637,90414,881,000992,0002,277,376
9Jan 3, 2023 18:504,96835,190,02513,910,0001,987,0002,273,280
10Jan 3, 2023 18:505,15976,338,10216,508,82402,297,856
11Jan 3, 2023 18:505,16288,133,86416,519,97202,179,072
12Jan 3, 2023 18:505,17385,949,83616,554,54902,301,952