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 13:52MatthiasMatthiasScore: 4,989Success
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 13:524,96341,182,51713,895,0001,985,0002,289,664
2Nov 23, 2024 13:524,96841,121,19113,909,0001,987,0002,273,280
3Nov 23, 2024 13:524,97334,206,79913,924,0001,989,0002,289,664
4Nov 23, 2024 13:524,97637,579,66713,933,0001,990,0002,289,664
5Nov 23, 2024 13:524,98940,474,64113,969,0001,995,0002,289,664
6Nov 23, 2024 13:524,98937,217,96313,970,0001,995,0002,273,280
7Nov 23, 2024 13:524,99639,183,37814,989,000999,0002,269,184
8Nov 23, 2024 13:525,00337,033,00814,008,0002,001,0002,289,664
9Nov 23, 2024 13:525,01137,961,57414,030,0002,004,0002,289,664