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 17, 2021 04:50Yuriy LyfenkoYuriy LyfenkoScore: 5,421Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2021 04:505,36843,252,50114,148,0003,031,0002,400,256
2May 17, 2021 04:505,38032,678,30816,203,0001,012,0002,396,160
3May 17, 2021 04:505,39734,175,45316,254,0001,015,0002,387,968
4May 17, 2021 04:505,40135,482,59115,250,0002,033,0002,392,064
5May 17, 2021 04:505,40742,482,51613,231,0004,071,0002,265,088
6May 17, 2021 04:505,41444,393,98517,324,00002,396,160
7May 17, 2021 04:505,42134,067,82017,346,00002,396,160
8May 17, 2021 04:505,42933,522,83117,374,00002,506,752
9May 17, 2021 04:505,45948,536,16216,498,000970,0002,404,352
10May 17, 2021 04:505,67588,354,99018,160,30402,277,376
11May 17, 2021 04:505,68090,110,97918,176,64402,273,280
12May 17, 2021 04:505,70373,638,06118,249,87202,277,376