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 listJun 9, 2024 14:46AndreyTSAndreyTSScore: 5,273Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 9, 2024 14:465,22143,597,80215,662,0001,044,0002,289,664
2Jun 9, 2024 14:465,22448,933,93715,672,0001,044,0002,289,664
3Jun 9, 2024 14:465,22844,239,87416,730,00002,289,664
4Jun 9, 2024 14:465,25842,700,04515,838,000989,0002,289,664
5Jun 9, 2024 14:465,26844,090,29114,876,0001,983,0002,277,376
6Jun 9, 2024 14:465,27040,931,67115,872,000992,0002,289,664
7Jun 9, 2024 14:465,27043,550,53115,873,000992,0002,531,328
8Jun 9, 2024 14:465,27142,912,12114,884,0001,984,0002,277,376
9Jun 9, 2024 14:465,27134,261,62714,884,0001,984,0002,289,664
10Jun 9, 2024 14:465,27234,700,64414,887,0001,984,0002,289,664
11Jun 9, 2024 14:465,27239,188,52015,878,000992,0002,277,376
12Jun 9, 2024 14:465,27343,091,55115,819,0001,054,0002,375,680
13Jun 9, 2024 14:465,27334,039,32815,881,000992,0002,269,184
14Jun 9, 2024 14:465,27642,997,40215,889,000993,0002,273,280
15Jun 9, 2024 14:465,27730,744,94914,899,0001,986,0002,289,664
16Jun 9, 2024 14:465,27840,277,07314,902,0001,986,0002,269,184
17Jun 9, 2024 14:465,27938,334,37615,901,000993,0002,289,664
18Jun 9, 2024 14:465,29837,250,66014,958,0001,994,0002,289,664
19Jun 9, 2024 14:465,49066,276,69417,566,81402,301,952
20Jun 9, 2024 14:465,50187,397,75817,604,12702,297,856
21Jun 9, 2024 14:465,50494,940,26717,613,04502,310,144
22Jun 9, 2024 14:465,52076,689,88617,665,36902,297,856
23Jun 9, 2024 14:465,53786,916,39317,717,01302,174,976
24Jun 9, 2024 14:465,54584,804,66417,742,82402,174,976