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 21, 2024 12:58AnSaAnSaScore: 5,296Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 21, 2024 12:585,27043,507,76815,873,000992,0002,400,256
2Jan 21, 2024 12:585,27346,700,27815,881,000992,0002,281,472
3Jan 21, 2024 12:585,27346,646,40415,883,000992,0002,400,256
4Jan 21, 2024 12:585,27841,285,29114,903,0001,987,0002,281,472
5Jan 21, 2024 12:585,28035,865,63516,897,00002,281,472
6Jan 21, 2024 12:585,29537,789,76514,950,0001,993,0002,281,472
7Jan 21, 2024 12:585,29642,141,48614,953,0001,993,0002,281,472
8Jan 21, 2024 12:585,31737,234,81516,013,0001,000,0002,281,472
9Jan 21, 2024 12:585,33233,405,36815,055,0002,007,0002,396,160
10Jan 21, 2024 12:585,49579,616,97617,583,23202,281,472
11Jan 21, 2024 12:585,52180,265,07217,665,89902,277,376
12Jan 21, 2024 12:585,52281,456,60317,668,82102,277,376