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 24, 2021 18:31Yuriy LyfenkoYuriy LyfenkoScore: 5,147Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 24, 2021 18:315,11237,758,95815,337,0001,022,0002,265,088
2May 24, 2021 18:315,11731,547,79915,350,0001,023,0002,510,848
3May 24, 2021 18:315,11738,696,46615,351,0001,023,0002,265,088
4May 24, 2021 18:315,11840,711,32316,379,00002,392,064
5May 24, 2021 18:315,12241,905,76316,391,00002,265,088
6May 24, 2021 18:315,12536,605,18515,375,0001,025,0002,265,088
7May 24, 2021 18:315,14738,422,33015,441,0001,029,0002,523,136
8May 24, 2021 18:315,15337,978,36116,488,00002,265,088
9May 24, 2021 18:315,16832,320,51915,504,0001,033,0002,260,992
10May 24, 2021 18:315,28564,324,62416,910,71802,281,472
11May 24, 2021 18:315,31347,838,87917,001,56502,277,376
12May 24, 2021 18:315,35398,142,61717,130,19602,277,376