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 listMar 7, 2024 07:54Huy Duc LeHuy Duc LeScore: 4,654Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 7, 2024 07:544,60532,182,44013,684,0001,052,0002,387,968
2Mar 7, 2024 07:544,64629,718,22314,867,00002,265,088
3Mar 7, 2024 07:544,64640,612,75213,876,000991,0002,265,088
4Mar 7, 2024 07:544,64940,237,45212,893,0001,983,0002,265,088
5Mar 7, 2024 07:544,64949,686,90512,894,0001,983,0002,265,088
6Mar 7, 2024 07:544,64944,698,91413,886,000991,0002,269,184
7Mar 7, 2024 07:544,65433,125,56314,892,00002,383,872
8Mar 7, 2024 07:544,66044,070,59713,919,000994,0002,265,088
9Mar 7, 2024 07:544,66836,851,83813,942,000995,0002,265,088
10Mar 7, 2024 07:544,87089,172,46015,582,85202,289,664
11Mar 7, 2024 07:544,88084,549,44215,614,51302,285,568
12Mar 7, 2024 07:544,90981,262,54915,709,57802,289,664