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 listJan 15, 2024 14:32matsuoka-601matsuoka-601Score: 5,503Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 15, 2024 14:325,47737,414,35516,496,0001,031,0002,269,184
2Jan 15, 2024 14:325,48040,086,44716,505,0001,031,0002,265,088
3Jan 15, 2024 14:325,48135,149,65617,540,00002,285,568
4Jan 15, 2024 14:325,48237,796,86216,511,0001,031,0002,289,664
5Jan 15, 2024 14:325,48338,934,95916,514,0001,032,0002,277,376
6Jan 15, 2024 14:325,49948,297,25316,563,0001,035,0002,269,184
7Jan 15, 2024 14:325,50342,609,37416,575,0001,035,0002,371,584
8Jan 15, 2024 14:325,50447,358,87117,613,00002,269,184
9Jan 15, 2024 14:325,51747,998,02117,654,00002,289,664
10Jan 15, 2024 14:325,77966,368,10318,493,18902,297,856
11Jan 15, 2024 14:325,78461,955,79018,508,69902,301,952
12Jan 15, 2024 14:325,79089,786,42818,528,58802,301,952