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 listNov 17, 2024 17:40Mikhail ShirokovMikhail ShirokovScore: 4,475Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 17, 2024 17:404,43934,755,10213,190,0001,014,0002,285,568
2Nov 17, 2024 17:404,44835,454,94813,217,0001,016,0002,285,568
3Nov 17, 2024 17:404,45336,671,87912,214,0002,035,0002,285,568
4Nov 17, 2024 17:404,47330,475,22813,292,0001,022,0002,404,352
5Nov 17, 2024 17:404,47531,307,15414,319,00002,285,568
6Nov 17, 2024 17:404,48733,792,87714,359,00002,408,448
7Nov 17, 2024 17:404,49135,100,88713,345,0001,026,0002,285,568
8Nov 17, 2024 17:404,49140,365,92213,345,0001,026,0002,285,568
9Nov 17, 2024 17:404,50536,893,72813,387,0001,029,0002,285,568