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 listNov 11, 2024 18:37ZOTTIGZOTTIGScore: 840,008Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 11, 2024 18:37839,4422,714,135,8282,532,316,000153,897,0002,367,488
2Nov 11, 2024 18:37839,6042,718,788,3732,500,820,000185,912,0002,355,200
3Nov 11, 2024 18:37839,6332,711,283,6862,511,902,000174,923,0002,453,504
4Nov 11, 2024 18:37839,7722,711,310,2802,507,387,000179,884,0002,318,336
5Nov 11, 2024 18:37840,0082,716,673,6892,515,087,000172,937,0002,400,256
6Nov 11, 2024 18:37840,0812,712,645,7202,531,360,000156,898,0002,375,680
7Nov 11, 2024 18:37840,2472,716,239,8132,497,876,000190,914,0002,301,952
8Nov 11, 2024 18:37840,3762,720,240,4132,509,323,000179,879,0002,478,080
9Nov 11, 2024 18:37843,9012,740,764,1422,528,643,000171,839,0002,318,336