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 29, 2021 15:03Yuriy LyfenkoYuriy LyfenkoScore: 5,042Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 29, 2021 15:035,00933,895,42415,029,0001,001,0002,387,968
2May 29, 2021 15:035,01540,725,59614,043,0002,006,0002,392,064
3May 29, 2021 15:035,01747,813,16314,048,0002,006,0002,265,088
4May 29, 2021 15:035,02640,139,53014,074,0002,010,0002,265,088
5May 29, 2021 15:035,02943,447,39114,082,0002,011,0002,392,064
6May 29, 2021 15:035,03234,017,54714,090,0002,012,0002,265,088
7May 29, 2021 15:035,04240,271,47914,118,0002,016,0002,527,232
8May 29, 2021 15:035,04933,255,38114,139,0002,019,0002,265,088
9May 29, 2021 15:035,05548,066,86614,154,0002,022,0002,265,088
10May 29, 2021 15:035,25484,399,03716,813,33402,277,376
11May 29, 2021 15:035,26482,357,35716,843,39002,244,608
12May 29, 2021 15:035,301108,272,42916,964,51202,277,376