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 10, 2024 00:36Joad NacerJoad NacerScore: 5,202Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 10, 2024 00:365,13741,306,31015,410,0001,027,0002,289,664
2May 10, 2024 00:365,14941,027,68515,447,0001,029,0002,289,664
3May 10, 2024 00:365,16339,213,47415,488,0001,032,0002,289,664
4May 10, 2024 00:365,16735,194,50016,535,00002,289,664
5May 10, 2024 00:365,18434,393,54615,554,0001,036,0002,277,376
6May 10, 2024 00:365,18541,593,13616,591,00002,363,392
7May 10, 2024 00:365,20241,512,30015,605,0001,040,0002,289,664
8May 10, 2024 00:365,20241,410,66515,607,0001,040,0002,281,472
9May 10, 2024 00:365,27442,864,84215,885,000992,0002,273,280
10May 10, 2024 00:365,35858,660,42617,145,44102,174,976
11May 10, 2024 00:365,36768,142,18617,173,63502,252,800
12May 10, 2024 00:365,36891,197,39717,179,12102,297,856