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 29, 2024 19:24Joad NacerJoad NacerScore: 4,341Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 29, 2024 19:234,33428,335,05712,879,000990,0002,531,328
2Nov 29, 2024 19:244,33732,300,00612,887,000991,0002,424,832
3Nov 29, 2024 19:244,33935,112,47311,903,0001,983,0002,437,120
4Nov 29, 2024 19:244,34034,344,70412,896,000992,0002,433,024
5Nov 29, 2024 19:234,34131,310,43313,892,00002,428,928
6Nov 29, 2024 19:234,34229,898,18912,901,000992,0002,437,120
7Nov 29, 2024 19:244,34229,367,04911,910,0001,985,0002,428,928
8Nov 29, 2024 19:244,34730,973,52212,916,000993,0002,437,120
9Nov 29, 2024 19:244,52535,214,48313,447,0001,034,0002,269,184