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 16, 2021 18:01Yuriy LyfenkoYuriy LyfenkoScore: 5,437Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2021 18:015,4094,244,354,07815,272,0002,036,0002,523,136
2May 16, 2021 18:015,4204,246,994,95116,325,0001,020,0002,519,040
3May 16, 2021 18:015,4234,240,985,98817,352,00002,265,088
4May 16, 2021 18:015,4264,239,007,64116,343,0001,021,0002,519,040
5May 16, 2021 18:015,4284,244,163,74017,371,00002,523,136
6May 16, 2021 18:015,4354,238,258,86617,393,00002,260,992
7May 16, 2021 18:015,4374,239,944,07516,375,0001,023,0002,260,992
8May 16, 2021 18:015,4484,238,351,91717,432,00002,260,992
9May 16, 2021 18:015,4584,240,261,13317,467,00002,523,136
10May 16, 2021 18:016,0954,292,399,83819,502,97702,277,376
11May 16, 2021 18:016,1044,276,946,50919,532,07102,281,472
12May 16, 2021 18:016,1484,280,737,92019,675,11302,281,472