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 8, 2024 18:51AndreyTSAndreyTSScore: 5,332Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2024 18:515,28341,874,67314,916,0001,988,0002,289,664
2Jun 8, 2024 18:515,31734,398,53716,014,0001,000,0002,289,664
3Jun 8, 2024 18:515,31838,219,51616,017,0001,001,0002,277,376
4Jun 8, 2024 18:515,32145,751,46015,024,0002,003,0002,289,664
5Jun 8, 2024 18:515,32737,087,94616,043,0001,002,0002,289,664
6Jun 8, 2024 18:515,33044,089,72815,050,0002,006,0002,289,664
7Jun 8, 2024 18:515,33235,210,84416,058,0001,003,0002,269,184
8Jun 8, 2024 18:515,33545,904,41715,064,0002,008,0002,289,664
9Jun 8, 2024 18:515,35438,553,18715,118,0002,015,0002,289,664
10Jun 8, 2024 18:515,55774,201,04117,782,69702,174,976
11Jun 8, 2024 18:515,56560,366,34917,807,61102,293,760
12Jun 8, 2024 18:515,58177,253,86717,857,71302,174,976