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 30, 2021 16:01Yuriy LyfenkoYuriy LyfenkoScore: 5,061Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 30, 2021 16:015,00632,138,10114,017,0002,002,0002,265,088
2May 30, 2021 16:015,01641,317,84415,047,0001,003,0002,400,256
3May 30, 2021 16:015,02341,501,18915,071,0001,004,0002,265,088
4May 30, 2021 16:015,03339,136,91914,091,0002,013,0002,265,088
5May 30, 2021 16:015,04734,268,90315,142,0001,009,0002,265,088
6May 30, 2021 16:015,05631,162,13014,157,0002,022,0002,265,088
7May 30, 2021 16:015,06148,492,77815,182,0001,012,0002,392,064
8May 30, 2021 16:015,06143,081,76215,184,0001,012,0002,265,088
9May 30, 2021 16:015,06245,088,33815,185,0001,012,0002,265,088
10May 30, 2021 16:015,21294,436,90016,676,95702,273,280
11May 30, 2021 16:015,22080,684,78616,702,60702,277,376
12May 30, 2021 16:015,249107,064,51116,796,17402,281,472