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 29, 2021 21:50Yuriy LyfenkoYuriy LyfenkoScore: 5,304Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 29, 2021 21:505,27637,186,85214,898,0001,986,0002,408,448
2May 29, 2021 21:505,27740,851,95216,887,00002,408,448
3May 29, 2021 21:505,28345,217,87315,912,000994,0002,281,472
4May 29, 2021 21:505,28842,308,95615,925,000995,0002,281,472
5May 29, 2021 21:505,29337,099,54714,945,0001,992,0002,281,472
6May 29, 2021 21:505,30440,170,87015,975,000998,0002,281,472
7May 29, 2021 21:505,30438,658,36315,976,000998,0002,408,448
8May 29, 2021 21:505,30832,691,60914,988,0001,998,0002,408,448
9May 29, 2021 21:505,31539,520,45716,009,0001,000,0002,519,040
10May 29, 2021 21:505,44287,206,28317,413,89102,293,760
11May 29, 2021 21:505,45483,581,34617,451,53102,285,568
12May 29, 2021 21:505,46584,761,80517,488,12502,281,472