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 19, 2025 17:51wainCGPwainCGPScore: 5,513Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 19, 2025 11:245,49639,357,09417,586,00002,289,664
2Mar 19, 2025 17:515,50045,948,51517,601,00002,289,664
3Mar 19, 2025 11:245,50843,558,21716,589,0001,036,0002,269,184
4Mar 19, 2025 17:515,51333,661,33416,606,0001,037,0002,269,184
5Mar 19, 2025 11:245,52233,269,74417,670,00002,273,280
6Mar 19, 2025 17:515,57848,117,48516,859,000991,0002,289,664