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 25, 2021 22:36Egor SergeevEgor SergeevScore: 5,501Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 25, 2021 22:365,47139,311,02316,477,0001,029,0002,289,664
2May 25, 2021 22:365,47234,827,02217,511,00002,289,664
3May 25, 2021 22:365,47540,348,04016,490,0001,030,0002,289,664
4May 25, 2021 22:365,47641,518,01516,494,0001,030,0002,273,280
5May 25, 2021 22:365,50045,235,10816,566,0001,035,0002,289,664
6May 25, 2021 22:365,50034,477,33616,566,0001,035,0002,277,376
7May 25, 2021 22:365,50147,574,48216,567,0001,035,0002,289,664
8May 25, 2021 22:365,50352,421,83316,575,0001,035,0002,269,184
9May 25, 2021 22:365,58935,953,16915,897,0001,987,0002,527,232
10May 25, 2021 22:365,63749,128,56418,038,39702,281,472
11May 25, 2021 22:365,64790,080,71518,069,17002,252,800
12May 25, 2021 22:365,69647,030,45618,225,90602,297,856