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 25, 2021 15:14Adam FolwarcznyAdam FolwarcznyScore: 5,534Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 25, 2021 15:145,499109,297,10917,596,91302,281,472
2Jul 25, 2021 15:145,51843,422,08816,618,0001,038,0002,396,160
3Jul 25, 2021 15:145,52283,010,47217,670,50202,281,472
4Jul 25, 2021 15:145,53047,396,63217,695,00002,265,088
5Jul 25, 2021 15:145,53336,708,93017,706,00002,265,088
6Jul 25, 2021 15:145,53467,212,95617,710,26002,273,280
7Jul 25, 2021 15:145,53437,031,57417,710,00002,265,088
8Jul 25, 2021 15:145,53543,290,09117,711,00002,379,776
9Jul 25, 2021 15:145,54043,829,36217,728,00002,383,872
10Jul 25, 2021 15:145,54244,233,12016,690,0001,043,0002,383,872
11Jul 25, 2021 15:145,58046,661,53617,857,00002,265,088
12Jul 25, 2021 15:145,58942,905,39416,891,000993,0002,392,064