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 30, 2022 13:27Keichi TakahashiKeichi TakahashiScore: 5,457Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 30, 2022 13:275,41938,276,25916,322,0001,020,0002,273,280
2May 30, 2022 13:275,43045,093,81416,355,0001,022,0002,289,664
3May 30, 2022 13:275,44438,778,18616,398,0001,024,0002,273,280
4May 30, 2022 13:275,44538,930,20716,400,0001,025,0002,289,664
5May 30, 2022 13:275,45142,901,07116,417,0001,026,0002,289,664
6May 30, 2022 13:275,45542,282,35316,430,0001,026,0002,289,664
7May 30, 2022 13:275,45739,710,02815,409,0002,054,0002,285,568
8May 30, 2022 13:275,46145,625,23817,474,00002,269,184
9May 30, 2022 13:275,47140,618,77217,508,00002,273,280
10May 30, 2022 13:275,61255,726,67317,959,58702,301,952
11May 30, 2022 13:275,61678,635,23717,970,11602,174,976
12May 30, 2022 13:275,62398,032,40017,992,48402,179,072