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 19:06джулисджулисScore: 5,807Success
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 19:065,77141,298,90417,441,0001,025,0002,371,584
2Jun 9, 2024 19:065,77739,651,64018,487,00002,371,584
3Jun 9, 2024 19:065,78043,232,80018,495,00002,375,680
4Jun 9, 2024 19:065,78534,448,79217,484,0001,028,0002,363,392
5Jun 9, 2024 19:065,78641,764,01118,515,00002,293,760
6Jun 9, 2024 19:065,78937,828,89717,495,0001,029,0002,371,584
7Jun 9, 2024 19:065,80744,612,38917,550,0001,032,0002,367,488
8Jun 9, 2024 19:065,81550,074,30417,576,0001,033,0002,367,488
9Jun 9, 2024 19:065,82349,476,02117,599,0001,035,0002,293,760
10Jun 9, 2024 19:065,989105,523,91519,165,85602,248,704
11Jun 9, 2024 19:065,99196,043,38119,169,95402,244,608
12Jun 9, 2024 19:066,04579,956,47319,344,24602,244,608