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 11, 2021 19:39Yuriy LyfenkoYuriy LyfenkoScore: 5,591Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2021 19:395,58637,197,51214,896,0002,979,0002,519,040
2May 11, 2021 19:395,58743,908,63714,899,0002,979,0002,519,040
3May 11, 2021 19:395,58745,716,75215,893,0001,986,0002,519,040
4May 11, 2021 19:395,58850,243,92515,894,0001,986,0002,519,040
5May 11, 2021 19:395,58945,535,99215,780,0002,104,0002,383,872
6May 11, 2021 19:395,59047,428,55615,902,0001,987,0002,383,872
7May 11, 2021 19:395,59145,062,06816,897,000993,0002,371,584
8May 11, 2021 19:395,59147,832,94015,903,0001,987,0002,387,968
9May 11, 2021 19:395,59646,501,54916,855,0001,053,0002,498,560
10May 11, 2021 19:395,77079,115,99118,465,44302,273,280
11May 11, 2021 19:395,77359,672,64518,474,38902,277,376
12May 11, 2021 19:395,81666,464,22618,610,26802,269,184