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 listAug 12, 2024 16:40vahookvahookScore: 4,648Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 12, 2024 16:404,60233,150,83813,674,0001,051,0002,277,376
2Aug 12, 2024 16:404,60739,619,17714,743,00002,281,472
3Aug 12, 2024 16:404,63743,438,86012,861,0001,978,0002,281,472
4Aug 12, 2024 16:404,64041,387,59012,869,0001,979,0002,404,352
5Aug 12, 2024 16:404,64628,867,58312,885,0001,982,0002,281,472
6Aug 12, 2024 16:404,64634,820,77514,868,00002,281,472
7Aug 12, 2024 16:404,64836,838,09313,883,000991,0002,281,472
8Aug 12, 2024 16:404,65331,820,91313,896,000992,0002,281,472
9Aug 12, 2024 16:404,65930,473,49113,915,000993,0002,396,160
10Aug 12, 2024 16:404,84878,435,53915,514,44802,281,472
11Aug 12, 2024 16:404,86390,456,65415,562,19702,297,856
12Aug 12, 2024 16:404,87086,169,76915,584,39902,297,856