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 listApr 17, 2024 13:43Drew GarciaDrew GarciaScore: 5,271Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 17, 2024 13:435,16434,896,12615,493,0001,032,0002,404,352
2Apr 17, 2024 13:435,16944,143,08614,475,0002,067,0002,269,184
3Apr 17, 2024 13:435,17245,710,28315,515,0001,034,0002,408,448
4Apr 17, 2024 13:435,18436,990,56914,515,0002,073,0002,400,256
5Apr 17, 2024 13:435,18735,802,70216,599,00002,269,184
6Apr 17, 2024 13:435,19248,115,15214,538,0002,076,0002,269,184
7Apr 17, 2024 13:435,27145,234,24514,884,0001,984,0002,273,280
8Apr 17, 2024 13:435,27250,878,96314,886,0001,984,0002,408,448
9Apr 17, 2024 13:435,27641,845,23715,889,000993,0002,478,080
10Apr 17, 2024 13:435,55269,700,82417,767,96602,306,048
11Apr 17, 2024 13:435,55875,037,25417,786,84202,297,856
12Apr 17, 2024 13:435,60591,177,12317,935,33502,285,568