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 13, 2024 12:58AndreyTSAndreyTSScore: 5,453Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 13, 2024 12:585,42643,291,27015,322,0002,042,0002,289,664
2Jun 13, 2024 12:585,43140,046,42716,356,0001,022,0002,269,184
3Jun 13, 2024 12:585,43339,416,76816,365,0001,022,0002,289,664
4Jun 13, 2024 12:585,44047,814,96316,384,0001,024,0002,289,664
5Jun 13, 2024 12:585,44344,626,87716,392,0001,024,0002,523,136
6Jun 13, 2024 12:585,45135,205,67717,442,00002,277,376
7Jun 13, 2024 12:585,45346,726,10616,423,0001,026,0002,289,664
8Jun 13, 2024 12:585,47843,936,75416,498,0001,031,0002,277,376
9Jun 13, 2024 12:585,48834,837,61316,528,0001,033,0002,273,280
10Jun 13, 2024 12:585,68190,272,35518,180,14602,256,896
11Jun 13, 2024 12:585,69285,173,59118,215,07802,174,976
12Jun 13, 2024 12:585,70088,359,00918,239,56302,252,800