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 16:19Jack FrigaardJack FrigaardScore: 5,328Success
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 16:195,28543,391,98414,922,0001,989,0002,285,568
2Jan 2, 2023 16:195,30039,868,11814,964,0001,995,0002,277,376
3Jan 2, 2023 16:195,30242,348,22814,970,0001,996,0002,285,568
4Jan 2, 2023 16:195,31739,164,00415,014,0002,001,0002,273,280
5Jan 2, 2023 16:195,32135,879,43815,023,0002,003,0002,285,568
6Jan 2, 2023 16:195,32341,838,22315,029,0002,003,0002,285,568
7Jan 2, 2023 16:195,32839,271,33016,048,0001,003,0002,285,568
8Jan 2, 2023 16:195,35345,595,65416,124,0001,007,0002,285,568
9Jan 2, 2023 16:195,37140,472,62515,165,0002,022,0002,285,568
10Jan 2, 2023 16:195,504103,042,62517,612,74302,297,856
11Jan 2, 2023 16:195,53175,138,27317,697,95802,293,760
12Jan 2, 2023 16:195,54089,883,58517,727,63402,297,856