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 listDec 14, 2024 14:33MatthiasMatthiasScore: 4,793Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 14, 2024 14:334,74136,299,61913,149,0002,023,0002,260,992
2Dec 14, 2024 14:334,75131,370,30514,190,0001,013,0002,285,568
3Dec 14, 2024 14:334,75643,289,80813,191,0002,029,0002,285,568
4Dec 14, 2024 14:334,79336,539,61413,293,0002,045,0002,285,568
5Dec 14, 2024 14:334,79633,245,68314,324,0001,023,0002,519,040
6Dec 14, 2024 14:334,82838,184,13714,419,0001,029,0002,285,568