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 listMay 15, 2023 06:32AmirAmirScore: 5,758Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 15, 2023 06:325,69541,052,67216,200,0002,025,0002,289,664
2May 15, 2023 06:325,70034,295,87216,215,0002,026,0002,289,664
3May 15, 2023 06:325,71838,083,25216,266,0002,033,0002,289,664
4May 15, 2023 06:325,75044,964,74916,355,0002,044,0002,273,280
5May 15, 2023 06:325,75045,632,20017,379,0001,022,0002,289,664
6May 15, 2023 06:325,75848,828,39917,404,0001,023,0002,289,664
7May 15, 2023 06:325,75840,964,09817,404,0001,023,0002,265,088
8May 15, 2023 06:325,79835,461,27217,525,0001,030,0002,277,376
9May 15, 2023 06:325,81749,337,97017,579,0001,034,0002,289,664
10May 15, 2023 06:326,075106,336,23119,439,93502,256,896
11May 15, 2023 06:326,07986,399,18219,452,86002,289,664
12May 15, 2023 06:326,097109,478,62519,510,10402,297,856