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 21, 2024 13:46AnSaAnSaScore: 5,313Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 21, 2024 13:465,28435,854,18415,852,0001,056,0002,281,472
2Jan 21, 2024 13:465,29040,801,15715,933,000995,0002,281,472
3Jan 21, 2024 13:465,29440,451,73814,948,0001,993,0002,281,472
4Jan 21, 2024 13:465,29836,283,11114,959,0001,994,0002,281,472
5Jan 21, 2024 13:465,29836,266,05114,960,0001,994,0002,281,472
6Jan 21, 2024 13:465,31032,566,16414,994,0001,999,0002,281,472
7Jan 21, 2024 13:465,31340,610,95916,001,0001,000,0002,281,472
8Jan 21, 2024 13:465,33243,328,88115,055,0002,007,0002,400,256
9Jan 21, 2024 13:465,33934,207,04517,084,00002,281,472
10Jan 21, 2024 13:465,48183,003,92917,540,48102,285,568
11Jan 21, 2024 13:465,49195,538,89317,570,09902,293,760
12Jan 21, 2024 13:465,49594,515,96517,584,66102,269,184