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 18, 2021 13:42Yuriy LyfenkoYuriy LyfenkoScore: 5,423Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 18, 2021 13:425,358210,134,72816,137,0001,008,0002,265,088
2May 18, 2021 13:425,382790,813,76315,195,0002,026,0002,265,088
3May 18, 2021 13:425,3943,021,509,18016,246,0001,015,0002,269,184
4May 18, 2021 13:425,3951,065,388,33215,347,0001,918,0002,269,184
5May 18, 2021 13:425,406647,995,99715,378,0001,922,0002,260,992
6May 18, 2021 13:425,413169,504,76215,399,0001,924,0002,392,064
7May 18, 2021 13:425,4231,527,812,64014,460,0002,892,0002,265,088
8May 18, 2021 13:425,4261,420,701,28617,363,00002,400,256
9May 18, 2021 13:425,434669,683,02216,366,0001,022,0002,269,184
10May 18, 2021 13:425,5641,322,450,49617,803,34702,281,472
11May 18, 2021 13:425,5702,563,848,92717,823,97202,277,376
12May 18, 2021 13:425,589804,161,22017,884,21702,281,472