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:54джулисджулисScore: 5,325Success
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:525,28545,038,94415,918,000994,0002,293,760
2Jun 9, 2024 19:525,28743,122,79815,923,000995,0002,367,488
3Jun 9, 2024 19:545,29443,502,59015,946,000996,0002,293,760
4Jun 9, 2024 19:545,29541,841,31515,949,000996,0002,293,760
5Jun 9, 2024 19:545,30338,391,65214,975,0001,996,0002,293,760
6Jun 9, 2024 19:525,30540,683,60514,979,0001,997,0002,510,848
7Jun 9, 2024 19:525,30748,804,58814,984,0001,997,0002,293,760
8Jun 9, 2024 19:545,30746,248,00515,984,000999,0002,293,760
9Jun 9, 2024 19:525,30850,653,54815,988,000999,0002,375,680
10Jun 9, 2024 19:545,30939,269,11314,991,0001,998,0002,293,760
11Jun 9, 2024 19:545,32136,801,12315,025,0002,003,0002,371,584
12Jun 9, 2024 19:525,32444,104,82315,032,0002,004,0002,293,760
13Jun 9, 2024 19:525,32536,359,19315,036,0002,004,0002,293,760
14Jun 9, 2024 19:525,33343,645,87816,063,0001,003,0002,293,760
15Jun 9, 2024 19:545,33943,186,73515,075,0002,010,0002,363,392
16Jun 9, 2024 19:545,34343,051,11115,087,0002,011,0002,371,584
17Jun 9, 2024 19:525,34546,178,31716,098,0001,006,0002,375,680
18Jun 9, 2024 19:545,35940,271,73515,132,0002,017,0002,371,584
19Jun 9, 2024 19:545,53170,399,41217,697,62502,248,704
20Jun 9, 2024 19:525,55671,538,26417,780,68402,244,608
21Jun 9, 2024 19:525,57160,963,29117,826,25202,256,896
22Jun 9, 2024 19:545,57884,533,34317,850,65702,256,896
23Jun 9, 2024 19:545,66898,924,82518,138,95302,256,896
24Jun 9, 2024 19:525,73881,914,43318,361,50502,244,608