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 listJun 17, 2021 16:51Yuriy LyfenkoYuriy LyfenkoScore: 5,028Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 17, 2021 16:514,99688,905,33713,989,0001,998,0002,281,472
2Jun 17, 2021 16:515,00088,608,98614,000,0002,000,0002,281,472
3Jun 17, 2021 16:515,00087,471,71514,001,0002,000,0002,273,280
4Jun 17, 2021 16:515,00391,200,89714,010,0002,001,0002,281,472
5Jun 17, 2021 16:515,01395,008,16614,037,0002,005,0002,281,472
6Jun 17, 2021 16:515,01591,138,60915,045,0001,003,0002,281,472
7Jun 17, 2021 16:515,02889,363,35415,086,0001,005,0002,281,472
8Jun 17, 2021 16:515,03387,437,38115,100,0001,006,0002,408,448
9Jun 17, 2021 16:515,04694,181,50114,130,0002,018,0002,281,472
10Jun 17, 2021 16:515,154128,024,43916,491,33702,285,568
11Jun 17, 2021 16:515,164123,382,07316,523,60702,285,568
12Jun 17, 2021 16:515,179132,922,70616,573,43802,285,568