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 12, 2024 23:52джулисджулисScore: 5,338Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 12, 2024 23:525,28343,865,77915,910,000994,0002,375,680
2Jun 12, 2024 23:525,28933,833,30815,930,000995,0002,363,392
3Jun 12, 2024 23:525,30243,015,68015,969,000998,0002,367,488
4Jun 12, 2024 23:525,30645,130,30114,982,0001,997,0002,293,760
5Jun 12, 2024 23:525,30834,167,50115,988,000999,0002,371,584
6Jun 12, 2024 23:525,31734,053,47916,014,0001,000,0002,293,760
7Jun 12, 2024 23:525,33843,019,88617,081,00002,293,760
8Jun 12, 2024 23:525,34041,582,01115,079,0002,010,0002,293,760
9Jun 12, 2024 23:525,34837,750,93115,101,0002,013,0002,293,760
10Jun 12, 2024 23:525,52280,789,16017,670,01902,248,704
11Jun 12, 2024 23:525,54191,638,81817,730,03902,244,608
12Jun 12, 2024 23:525,55980,428,15217,790,00802,244,608