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 listMar 23, 2025 10:13wainCGPwainCGPScore: 5,527Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 23, 2025 15:535,49633,381,00917,587,00002,269,184
2Mar 23, 2025 10:135,49935,955,68716,563,0001,035,0002,289,664
3Mar 23, 2025 15:535,50144,742,24416,569,0001,035,0002,392,064
4Mar 23, 2025 15:535,52734,611,99916,647,0001,040,0002,289,664
5Mar 23, 2025 10:135,52846,071,43016,650,0001,040,0002,289,664
6Mar 23, 2025 10:135,54445,695,07216,697,0001,043,0002,289,664