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 listJul 27, 2024 00:02kyle-basiskyle-basisError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 27, 2024 00:0100000Error: expected "978109 ", got "978110 "stderr
2Jul 27, 2024 00:0200000Error: expected "975812 ", got "975813 "stderr
3Jul 27, 2024 00:025,64643,608,50117,064,0001,003,0002,273,280
4Jul 27, 2024 00:025,65142,035,21117,078,0001,004,0002,535,424
5Jul 27, 2024 00:025,65733,588,79017,096,0001,005,0002,535,424
6Jul 27, 2024 00:025,66042,654,83117,105,0001,006,0002,273,280
7Jul 27, 2024 00:025,66979,441,51918,140,13402,183,168
8Jul 27, 2024 00:025,67039,126,51217,137,0001,008,0002,433,024
9Jul 27, 2024 00:025,68340,524,87116,166,0002,020,0002,273,280
10Jul 27, 2024 00:025,68445,331,44916,168,0002,021,0002,433,024
11Jul 27, 2024 00:025,68894,019,99618,202,89902,174,976
12Jul 27, 2024 00:025,68964,263,61718,204,10502,183,168
13Jul 27, 2024 00:025,69239,848,41718,215,00002,535,424
14Jul 27, 2024 00:025,74539,755,10618,385,00002,428,928