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 20, 2024 15:43KrishanKrishanScore: 21,838Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 20, 2024 15:4321,823100,448,79667,839,0001,995,0002,367,488
2Nov 20, 2024 15:4321,82797,196,71467,850,0001,995,0002,359,296
3Nov 20, 2024 15:4321,83296,256,25268,865,000998,0002,371,584
4Nov 20, 2024 15:4321,834101,176,27568,872,000998,0002,293,760
5Nov 20, 2024 15:4321,83897,471,98367,885,0001,996,0002,371,584
6Nov 20, 2024 15:4321,86298,033,53267,961,0001,998,0002,293,760
7Nov 20, 2024 15:4321,871100,559,83568,989,000999,0002,367,488
8Nov 20, 2024 15:4321,874106,044,06567,997,0001,999,0002,359,296
9Nov 20, 2024 15:4321,89594,153,53268,064,0002,001,0002,379,776