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 listMay 17, 2021 09:22Sergey StreminSergey StreminScore: 5,668Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2021 09:225,64044,961,19916,044,0002,005,0002,371,584
2May 17, 2021 09:225,65247,673,83116,076,0002,009,0002,363,392
3May 17, 2021 09:225,65240,265,98714,068,0004,019,0002,277,376
4May 17, 2021 09:225,65239,912,84214,067,0004,019,0002,281,472
5May 17, 2021 09:225,65536,307,50917,091,0001,005,0002,379,776
6May 17, 2021 09:225,65540,979,08316,087,0002,010,0002,371,584
7May 17, 2021 09:225,65750,605,02416,091,0002,011,0002,277,376
8May 17, 2021 09:225,66038,361,41217,105,0001,006,0002,375,680
9May 17, 2021 09:225,66345,319,86515,102,0003,020,0002,277,376
10May 17, 2021 09:225,66542,537,91716,114,0002,014,0002,277,376
11May 17, 2021 09:225,66635,355,19516,118,0002,014,0002,375,680
12May 17, 2021 09:225,66839,762,38216,123,0002,015,0002,375,680
13May 17, 2021 09:225,66841,312,44016,122,0002,015,0002,371,584
14May 17, 2021 09:225,66845,028,85815,115,0003,023,0002,281,472
15May 17, 2021 09:225,67341,302,15417,147,0001,008,0002,367,488
16May 17, 2021 09:225,67438,977,93716,141,0002,017,0002,281,472
17May 17, 2021 09:225,68241,023,09114,142,0004,040,0002,277,376
18May 17, 2021 09:225,68938,776,26715,170,0003,034,0002,371,584
19May 17, 2021 09:225,90974,265,11618,909,77802,236,416
20May 17, 2021 09:225,91387,839,43418,922,42502,240,512
21May 17, 2021 09:225,91792,380,36618,935,20802,244,608
22May 17, 2021 09:225,93487,140,44418,987,79502,236,416
23May 17, 2021 09:225,94596,401,25219,022,52502,248,704
24May 17, 2021 09:225,95763,490,87919,062,26902,236,416