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 21:57джулисджулисScore: 5,329Success
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 21:575,29244,210,34016,935,00002,367,488
2Jun 9, 2024 21:575,29343,305,79315,943,000996,0002,375,680
3Jun 9, 2024 21:575,29742,510,47814,957,0001,994,0002,371,584
4Jun 9, 2024 21:575,31539,543,36316,007,0001,000,0002,293,760
5Jun 9, 2024 21:575,31550,812,48615,007,0002,001,0002,371,584
6Jun 9, 2024 21:575,31935,098,50315,018,0002,002,0002,371,584
7Jun 9, 2024 21:575,32941,331,50815,048,0002,006,0002,293,760
8Jun 9, 2024 21:575,33349,694,56315,057,0002,007,0002,375,680
9Jun 9, 2024 21:575,35438,366,32816,126,0001,007,0002,371,584
10Jun 9, 2024 21:575,54278,476,59517,734,62102,248,704
11Jun 9, 2024 21:575,56182,273,32417,796,48002,252,800
12Jun 9, 2024 21:575,58167,315,51317,858,04702,260,992