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 6, 2024 00:16Sergey SpiridonovSergey SpiridonovScore: 20,631Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 6, 2024 00:1620,49591,621,56826,234,00039,351,0002,523,136
2Nov 6, 2024 00:1620,49990,259,31626,239,00039,359,0002,392,064
3Nov 6, 2024 00:1620,56890,113,53126,926,00038,893,0002,265,088
4Nov 6, 2024 00:1620,59889,032,60828,961,00036,951,0002,281,472
5Nov 6, 2024 00:1620,63195,148,44727,008,00039,012,0002,404,352
6Nov 6, 2024 00:1620,69493,484,84029,097,00037,124,0002,265,088
7Nov 6, 2024 00:1620,72293,541,02627,127,00039,183,0002,293,760
8Nov 6, 2024 00:1620,79992,526,00525,211,00041,346,0002,494,464
9Nov 6, 2024 00:1620,86592,720,61025,910,00040,858,0002,514,944