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 listFeb 20, 2024 14:58Huy Duc LeHuy Duc LeScore: 5,623Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 20, 2024 14:585,57834,057,99916,857,000991,0002,281,472
2Feb 20, 2024 14:585,58442,936,35716,876,000992,0002,527,232
3Feb 20, 2024 14:585,58640,396,32714,895,0002,979,0002,281,472
4Feb 20, 2024 14:585,58842,505,72616,830,0001,051,0002,535,424
5Feb 20, 2024 14:585,58847,727,03015,896,0001,987,0002,269,184
6Feb 20, 2024 14:585,60941,870,01916,951,000997,0002,273,280
7Feb 20, 2024 14:585,62340,715,03215,993,0001,999,0002,281,472
8Feb 20, 2024 14:585,62934,971,39016,012,0002,001,0002,281,472
9Feb 20, 2024 14:585,65742,449,49418,102,00002,281,472
10Feb 20, 2024 14:585,82072,745,43518,622,48402,297,856
11Feb 20, 2024 14:585,83464,050,90418,669,63902,306,048
12Feb 20, 2024 14:585,86881,155,74518,776,63102,179,072