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 listJun 9, 2024 18:25matsuoka-601matsuoka-601Score: 4,962Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 9, 2024 18:254,92336,902,93314,704,0001,050,0002,293,760
2Jun 9, 2024 18:254,94940,497,70913,859,0001,979,0002,293,760
3Jun 9, 2024 18:254,95239,343,09913,866,0001,980,0002,293,760
4Jun 9, 2024 18:254,95642,932,32215,859,00002,273,280
5Jun 9, 2024 18:254,95832,628,79414,875,000991,0002,527,232
6Jun 9, 2024 18:254,95941,960,06715,869,00002,277,376
7Jun 9, 2024 18:254,96232,086,48813,893,0001,984,0002,277,376
8Jun 9, 2024 18:254,96431,815,85513,901,0001,985,0002,293,760
9Jun 9, 2024 18:254,96937,495,77413,915,0001,987,0002,293,760
10Jun 9, 2024 18:255,16092,670,37616,511,31502,306,048
11Jun 9, 2024 18:255,17491,088,68816,558,22802,179,072
12Jun 9, 2024 18:255,22577,882,59616,720,16902,301,952