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:50джулисджулисScore: 5,322Success
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:505,29844,771,42115,955,000997,0002,371,584
2Jun 9, 2024 19:505,29843,341,09614,960,0001,994,0002,293,760
3Jun 9, 2024 19:505,30041,054,94314,966,0001,995,0002,367,488
4Jun 9, 2024 19:505,31245,452,94115,999,000999,0002,371,584
5Jun 9, 2024 19:505,31430,764,51015,004,0002,000,0002,363,392
6Jun 9, 2024 19:505,32041,905,37215,021,0002,002,0002,375,680
7Jun 9, 2024 19:505,32236,406,66216,028,0001,001,0002,375,680
8Jun 9, 2024 19:505,32643,186,91816,041,0001,002,0002,293,760
9Jun 9, 2024 19:505,33136,643,87715,052,0002,006,0002,293,760
10Jun 9, 2024 19:505,56678,760,83017,812,43902,248,704
11Jun 9, 2024 19:505,69061,150,08418,208,51202,252,800
12Jun 9, 2024 19:505,74196,760,29718,371,59702,248,704