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:38джулисджулисScore: 5,343Success
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:385,31747,058,11515,013,0002,001,0002,371,584
2Jun 9, 2024 21:385,31943,531,33915,019,0002,002,0002,367,488
3Jun 9, 2024 21:385,32244,461,41615,026,0002,003,0002,293,760
4Jun 9, 2024 21:385,32843,189,31315,044,0002,005,0002,293,760
5Jun 9, 2024 21:385,32943,999,19816,050,0001,003,0002,293,760
6Jun 9, 2024 21:385,33548,408,63515,064,0002,008,0002,293,760
7Jun 9, 2024 21:385,33744,086,49815,070,0002,009,0002,469,888
8Jun 9, 2024 21:385,33743,487,74115,069,0002,009,0002,367,488
9Jun 9, 2024 21:385,33834,505,52716,076,0001,004,0002,293,760
10Jun 9, 2024 21:385,33845,202,65815,071,0002,009,0002,293,760
11Jun 9, 2024 21:385,34243,532,31715,083,0002,011,0002,293,760
12Jun 9, 2024 21:385,34338,248,18317,097,00002,293,760
13Jun 9, 2024 21:385,34348,056,91316,091,0001,005,0002,293,760
14Jun 9, 2024 21:385,34539,468,78817,103,00002,367,488
15Jun 9, 2024 21:385,36246,544,23915,139,0002,018,0002,363,392
16Jun 9, 2024 21:385,36633,246,26816,160,0001,010,0002,293,760
17Jun 9, 2024 21:385,36643,314,47715,152,0002,020,0002,367,488
18Jun 9, 2024 21:385,37134,581,02115,166,0002,022,0002,293,760
19Jun 9, 2024 21:385,54267,080,36517,734,10402,248,704
20Jun 9, 2024 21:385,56566,705,50017,807,63202,248,704
21Jun 9, 2024 21:385,57367,605,56117,834,74702,244,608
22Jun 9, 2024 21:385,57657,771,34917,842,80202,260,992
23Jun 9, 2024 21:385,58575,731,08617,873,48502,248,704
24Jun 9, 2024 21:385,588100,579,66417,880,88402,256,896