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 listJan 16, 2024 04:26matsuoka-601matsuoka-601Score: 4,967Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 16, 2024 04:264,90244,432,19115,686,00002,285,568
2Jan 16, 2024 04:264,91344,652,77714,672,0001,048,0002,285,568
3Jan 16, 2024 04:264,92144,553,73514,698,0001,049,0002,523,136
4Jan 16, 2024 04:264,95540,187,54013,875,0001,982,0002,269,184
5Jan 16, 2024 04:264,96132,909,12013,891,0001,984,0002,285,568
6Jan 16, 2024 04:264,96241,802,20513,893,0001,984,0002,277,376
7Jan 16, 2024 04:264,96743,960,79213,907,0001,986,0002,285,568
8Jan 16, 2024 04:264,97437,581,70714,922,000994,0002,285,568
9Jan 16, 2024 04:264,99832,182,93213,995,0001,999,0002,277,376
10Jan 16, 2024 04:265,65055,642,85718,080,14402,301,952
11Jan 16, 2024 04:265,66486,153,69818,124,86202,301,952
12Jan 16, 2024 04:265,66482,523,68518,125,36602,297,856