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 listJan 2, 2023 14:46Jack FrigaardJack FrigaardScore: 5,915Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2023 14:465,88944,974,41016,863,0001,983,0002,285,568
2Jan 2, 2023 14:465,90045,189,99917,886,000993,0002,285,568
3Jan 2, 2023 14:465,90146,113,53316,895,0001,987,0002,527,232
4Jan 2, 2023 14:465,90444,290,76816,906,0001,988,0002,285,568
5Jan 2, 2023 14:465,90943,970,00416,919,0001,990,0002,285,568
6Jan 2, 2023 14:465,91541,645,11816,935,0001,992,0002,355,200
7Jan 2, 2023 14:465,91545,063,14216,935,0001,992,0002,285,568
8Jan 2, 2023 14:465,92241,532,68716,955,0001,994,0002,531,328
9Jan 2, 2023 14:465,93140,495,60917,981,000998,0002,285,568
10Jan 2, 2023 14:466,10083,214,40419,519,64802,301,952
11Jan 2, 2023 14:466,11974,095,83619,581,30902,293,760
12Jan 2, 2023 14:466,15697,219,68819,698,80302,297,856