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:06Manuel PepeManuel PepeScore: 47,175Success
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:0647,126177,821,477148,806,0001,997,0002,486,272
2Nov 7, 2024 03:0647,136178,887,217148,838,0001,997,0002,478,080
3Nov 7, 2024 03:0647,142182,127,890148,855,0001,998,0002,482,176
4Nov 7, 2024 03:0647,170176,277,964149,946,000999,0002,478,080
5Nov 7, 2024 03:0647,175181,956,129148,962,0001,999,0002,330,624
6Nov 7, 2024 03:0647,189175,861,709150,004,0001,000,0002,478,080
7Nov 7, 2024 03:0647,193178,064,027150,017,0001,000,0002,330,624
8Nov 7, 2024 03:0647,222181,159,061149,108,0002,001,0002,330,624
9Nov 7, 2024 03:0647,224181,776,367149,116,0002,001,0002,330,624