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 22, 2024 23:03MatthiasMatthiasScore: 2,775,028Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 22, 2024 23:032,766,2888,879,797,7348,820,137,00031,985,0002,281,472
2Nov 22, 2024 23:032,769,1948,890,091,5838,821,437,00039,983,0002,281,472
3Nov 22, 2024 23:032,769,6058,891,413,9108,832,747,00029,988,0002,293,760
4Nov 22, 2024 23:032,771,7348,900,643,6108,830,566,00038,984,0002,281,472
5Nov 22, 2024 23:032,775,0288,914,985,9148,851,100,00028,990,0002,289,664
6Nov 22, 2024 23:032,795,9208,980,760,1288,913,959,00032,985,0002,281,472
7Nov 22, 2024 23:032,838,2509,111,335,5909,049,414,00032,986,0002,289,664
8Nov 22, 2024 23:032,839,5039,113,804,1769,046,425,00039,984,0002,281,472
9Nov 22, 2024 23:032,867,4749,206,386,6479,135,934,00039,982,0002,269,184