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 28, 2021 06:19Yuriy LyfenkoYuriy LyfenkoScore: 5,130Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 28, 2021 06:195,07842,134,70514,219,0002,031,0002,265,088
2May 28, 2021 06:195,09735,924,00415,290,0001,019,0002,396,160
3May 28, 2021 06:195,09841,701,05115,294,0001,019,0002,265,088
4May 28, 2021 06:195,10937,302,74814,306,0002,043,0002,265,088
5May 28, 2021 06:195,11334,509,53515,340,0001,022,0002,265,088
6May 28, 2021 06:195,12844,922,50015,384,0001,025,0002,527,232
7May 28, 2021 06:195,13038,702,91915,391,0001,026,0002,265,088
8May 28, 2021 06:195,13733,720,36116,439,00002,383,872
9May 28, 2021 06:195,14036,508,69816,449,00002,527,232
10May 28, 2021 06:195,28364,061,94316,904,80702,285,568
11May 28, 2021 06:195,28855,684,41016,922,48202,281,472
12May 28, 2021 06:195,33887,669,68017,082,47402,273,280