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 22:02AndreyTSAndreyTSScore: 5,443Success
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 22:025,40139,325,92114,234,0003,050,0002,281,472
2Jun 8, 2024 22:025,40232,809,57315,252,0002,033,0002,519,040
3Jun 8, 2024 22:025,42333,774,65416,332,0001,020,0002,277,376
4Jun 8, 2024 22:025,42944,097,04615,330,0002,044,0002,269,184
5Jun 8, 2024 22:025,43642,164,30015,350,0002,046,0002,527,232
6Jun 8, 2024 22:025,43739,345,53414,329,0003,070,0002,281,472
7Jun 8, 2024 22:025,44341,948,75016,394,0001,024,0002,281,472
8Jun 8, 2024 22:025,44639,159,66716,402,0001,025,0002,277,376
9Jun 8, 2024 22:025,45938,420,17817,468,00002,277,376
10Jun 8, 2024 22:025,68695,544,37618,194,96502,183,168
11Jun 8, 2024 22:025,70791,794,59218,262,80702,203,648
12Jun 8, 2024 22:025,76479,558,65718,443,41802,301,952