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 17:20Sergey StreminSergey StreminScore: 5,768Success
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 17:205,71646,144,15016,259,0002,032,0002,277,376
2May 17, 2021 17:205,73041,903,26517,318,0001,018,0002,371,584
3May 17, 2021 17:205,73242,533,71617,324,0001,019,0002,277,376
4May 17, 2021 17:205,73540,390,99217,333,0001,019,0002,371,584
5May 17, 2021 17:205,73642,349,33818,354,00002,367,488
6May 17, 2021 17:205,74439,556,62818,380,00002,367,488
7May 17, 2021 17:205,74537,793,31718,384,00002,277,376
8May 17, 2021 17:205,74538,907,43718,385,00002,277,376
9May 17, 2021 17:205,74847,869,63217,373,0001,021,0002,277,376
10May 17, 2021 17:205,75243,011,43718,406,00002,277,376
11May 17, 2021 17:205,76337,152,46518,443,00002,277,376
12May 17, 2021 17:205,76845,116,66816,408,0002,051,0002,277,376
13May 17, 2021 17:205,76840,919,48917,431,0001,025,0002,367,488
14May 17, 2021 17:205,77035,011,35517,438,0001,025,0002,371,584
15May 17, 2021 17:205,77936,534,75618,493,00002,277,376
16May 17, 2021 17:205,78841,337,54518,520,00002,375,680
17May 17, 2021 17:205,79139,727,67516,472,0002,059,0002,277,376
18May 17, 2021 17:205,79741,612,99516,490,0002,061,0002,371,584
19May 17, 2021 17:205,96384,741,44619,082,13102,248,704
20May 17, 2021 17:205,966100,173,30819,091,54302,248,704
21May 17, 2021 17:206,02587,537,19219,280,96502,248,704
22May 17, 2021 17:206,03986,823,97819,324,31202,244,608
23May 17, 2021 17:206,04583,644,97019,342,54402,244,608
24May 17, 2021 17:206,06186,255,03419,395,73902,232,320