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 7, 2024 03:05Manuel PepeManuel PepeScore: 67,771Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 7, 2024 03:0567,747247,130,524214,793,0001,998,0002,330,624
2Nov 7, 2024 03:0567,749240,335,060216,796,00002,330,624
3Nov 7, 2024 03:0567,749241,261,579215,799,000999,0002,469,888
4Nov 7, 2024 03:0567,765247,008,381215,848,000999,0002,330,624
5Nov 7, 2024 03:0567,771247,001,446214,870,0001,998,0002,330,624
6Nov 7, 2024 03:0567,835241,921,652215,073,0002,000,0002,478,080
7Nov 7, 2024 03:0567,865246,072,136216,168,0001,000,0002,486,272
8Nov 7, 2024 03:0567,870251,581,801216,184,0001,000,0002,330,624
9Nov 7, 2024 03:0567,877241,472,986215,206,0002,001,0002,330,624