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 27, 2021 17:22Yurkov AlekseyYurkov AlekseyScore: 5,930Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 27, 2021 17:225,89841,838,43516,888,0001,986,0002,269,184
2May 27, 2021 17:225,90549,248,11816,907,0001,989,0002,277,376
3May 27, 2021 17:225,91044,451,27218,912,00002,289,664
4May 27, 2021 17:225,91340,583,82618,920,00002,289,664
5May 27, 2021 17:225,91436,010,42116,934,0001,992,0002,289,664
6May 27, 2021 17:225,93034,747,80816,979,0001,997,0002,273,280
7May 27, 2021 17:225,93037,437,76417,979,000998,0002,277,376
8May 27, 2021 17:225,94237,368,52117,013,0002,001,0002,277,376
9May 27, 2021 17:225,94748,019,59017,027,0002,003,0002,379,776
10May 27, 2021 17:226,10048,068,77419,518,88702,297,856
11May 27, 2021 17:226,10073,995,85619,519,57102,301,952
12May 27, 2021 17:226,16875,432,54119,736,83802,256,896