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 14, 2021 21:59Yuriy LyfenkoYuriy LyfenkoScore: 5,476Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 14, 2021 21:595,43339,782,02216,364,0001,022,0002,396,160
2May 14, 2021 21:595,43638,212,62416,373,0001,023,0002,260,992
3May 14, 2021 21:595,45245,451,20317,447,00002,396,160
4May 14, 2021 21:595,45441,367,91616,426,0001,026,0002,383,872
5May 14, 2021 21:595,45548,321,31915,402,0002,053,0002,523,136
6May 14, 2021 21:595,46139,852,97515,420,0002,056,0002,387,968
7May 14, 2021 21:595,47641,230,38317,524,00002,523,136
8May 14, 2021 21:595,48138,481,32617,540,00002,523,136
9May 14, 2021 21:595,49239,002,03416,542,0001,033,0002,400,256
10May 14, 2021 21:595,64059,537,60118,046,76902,281,472
11May 14, 2021 21:595,66461,684,18518,123,83902,281,472
12May 14, 2021 21:595,71885,849,27318,296,29702,269,184