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 listFeb 17, 2023 20:28LiamLiamScore: 5,588Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 17, 2023 20:285,54350,619,06817,739,00002,408,448
2Feb 17, 2023 20:285,58545,318,90414,893,0002,978,0002,273,280
3Feb 17, 2023 20:285,58546,443,57615,887,0001,985,0002,416,640
4Feb 17, 2023 20:285,58643,174,03015,888,0001,986,0002,408,448
5Feb 17, 2023 20:285,58649,564,67316,882,000993,0002,273,280
6Feb 17, 2023 20:285,58842,341,79914,901,0002,980,0002,412,544
7Feb 17, 2023 20:285,58841,755,51916,889,000993,0002,273,280
8Feb 17, 2023 20:285,58948,515,96516,892,000993,0002,281,472
9Feb 17, 2023 20:285,59644,777,45215,919,0001,989,0002,408,448
10Feb 17, 2023 20:285,79265,494,43818,535,11602,285,568
11Feb 17, 2023 20:285,79958,767,38518,557,13002,297,856
12Feb 17, 2023 20:285,80760,998,16218,581,51502,289,664