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:39AndreyTSAndreyTSScore: 5,386Success
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:395,35639,744,11416,132,0001,008,0002,289,664
2Jun 8, 2024 18:395,36834,230,73615,157,0002,021,0002,269,184
3Jun 8, 2024 18:395,36940,181,26116,170,0001,010,0002,289,664
4Jun 8, 2024 18:395,38145,757,53215,193,0002,025,0002,371,584
5Jun 8, 2024 18:395,38236,521,98615,196,0002,026,0002,289,664
6Jun 8, 2024 18:395,38344,514,47015,201,0002,026,0002,289,664
7Jun 8, 2024 18:395,38638,905,19616,221,0001,013,0002,273,280
8Jun 8, 2024 18:395,38635,461,42216,223,0001,013,0002,269,184
9Jun 8, 2024 18:395,42438,863,76215,316,0002,042,0002,289,664
10Jun 8, 2024 18:395,61483,644,61917,964,13902,310,144
11Jun 8, 2024 18:395,62683,197,29718,002,70102,301,952
12Jun 8, 2024 18:395,62973,025,91018,012,89502,301,952