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 listJul 18, 2024 14:39Matt StuchlikMatt StuchlikScore: 5,604Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 18, 2024 14:395,57948,645,50915,870,0001,983,0002,277,376
2Jul 18, 2024 14:395,58335,074,75915,882,0001,985,0002,285,568
3Jul 18, 2024 14:395,58346,286,19215,882,0001,985,0002,387,968
4Jul 18, 2024 14:395,59043,095,64015,902,0001,987,0002,269,184
5Jul 18, 2024 14:395,59446,448,61015,913,0001,989,0002,289,664
6Jul 18, 2024 14:395,59741,874,35815,921,0001,990,0002,289,664
7Jul 18, 2024 14:395,60435,900,61615,940,0001,992,0002,265,088
8Jul 18, 2024 14:395,61334,256,15815,965,0001,995,0002,277,376
9Jul 18, 2024 14:395,62640,812,69516,003,0002,000,0002,289,664
10Jul 18, 2024 14:395,79965,903,14418,558,31402,293,760
11Jul 18, 2024 14:395,84584,194,65218,704,16102,174,976
12Jul 18, 2024 14:395,86392,684,37718,760,70602,301,952