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 listJul 22, 2022 22:35Robert BurkeRobert BurkeScore: 4,794Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 22, 2022 22:354,75330,750,00914,196,0001,014,0002,437,120
2Jul 22, 2022 22:354,76432,190,27114,228,0001,016,0002,433,024
3Jul 22, 2022 22:354,78132,837,52714,280,0001,020,0002,445,312
4Jul 22, 2022 22:354,78633,540,88914,295,0001,021,0002,428,928
5Jul 22, 2022 22:354,78731,323,30114,297,0001,021,0002,441,216
6Jul 22, 2022 22:354,78836,256,47015,322,00002,281,472
7Jul 22, 2022 22:354,79432,556,88913,297,0002,045,0002,433,024
8Jul 22, 2022 22:354,79628,774,28714,324,0001,023,0002,433,024
9Jul 22, 2022 22:354,81031,330,74615,392,00002,281,472
10Jul 22, 2022 22:354,94182,214,06215,812,74402,195,456
11Jul 22, 2022 22:354,94471,386,85315,822,06002,195,456
12Jul 22, 2022 22:354,95982,001,47915,869,94802,195,456