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 listFeb 25, 2023 22:29Andranik ChakiryanAndranik ChakiryanScore: 5,736Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 25, 2023 22:295,67337,553,04216,136,0002,017,0002,359,296
2Feb 25, 2023 22:295,68043,957,41917,166,0001,009,0002,355,200
3Feb 25, 2023 22:295,68542,351,82716,172,0002,021,0002,342,912
4Feb 25, 2023 22:295,69339,194,12617,206,0001,012,0002,355,200
5Feb 25, 2023 22:295,72142,999,07016,273,0002,034,0002,342,912
6Feb 25, 2023 22:295,73145,346,56916,301,0002,037,0002,355,200
7Feb 25, 2023 22:295,73639,673,88016,316,0002,039,0002,355,200
8Feb 25, 2023 22:295,76641,593,01916,402,0002,050,0002,342,912
9Feb 25, 2023 22:295,77182,339,66018,467,98202,191,360
10Feb 25, 2023 22:295,77340,751,47115,396,0003,079,0002,342,912
11Feb 25, 2023 22:295,91983,274,20218,941,75302,179,072
12Feb 25, 2023 22:295,95792,071,71719,063,42902,183,168