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 listJul 21, 2023 11:09gchebanovgchebanovScore: 5,625Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 21, 2023 11:095,59349,541,64217,897,00002,519,040
2Jul 21, 2023 11:095,59834,705,00616,917,000995,0002,519,040
3Jul 21, 2023 11:095,59841,188,08415,923,0001,990,0002,392,064
4Jul 21, 2023 11:095,61045,335,52515,957,0001,994,0002,519,040
5Jul 21, 2023 11:095,61334,890,39015,967,0001,995,0002,260,992
6Jul 21, 2023 11:095,62340,437,95014,995,0002,999,0002,519,040
7Jul 21, 2023 11:095,62544,262,74915,001,0003,000,0002,519,040
8Jul 21, 2023 11:095,63245,035,94316,019,0002,002,0002,387,968
9Jul 21, 2023 11:095,63847,770,92516,036,0002,004,0002,387,968
10Jul 21, 2023 11:095,85576,272,25718,735,55002,285,568
11Jul 21, 2023 11:095,86097,332,23718,751,98502,269,184
12Jul 21, 2023 11:095,88293,180,57518,823,66402,285,568