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 23, 2024 10:58E SequeiraE SequeiraScore: 5,832Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 23, 2024 10:585,76139,248,32117,410,0001,024,0002,289,664
2Nov 23, 2024 10:585,81649,459,03217,577,0001,033,0002,527,232
3Nov 23, 2024 10:585,81837,157,73817,585,0001,034,0002,273,280
4Nov 23, 2024 10:585,83047,954,07117,619,0001,036,0002,523,136
5Nov 23, 2024 10:585,83241,504,38218,663,00002,289,664
6Nov 23, 2024 10:585,84447,169,14917,663,0001,039,0002,285,568
7Nov 23, 2024 10:585,87947,217,79517,822,000990,0002,277,376
8Nov 23, 2024 10:585,88844,753,00316,857,0001,983,0002,289,664
9Nov 23, 2024 10:585,90137,831,13616,896,0001,987,0002,289,664