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 4, 2021 05:25evgenikwtevgenikwtScore: 5,337Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 4, 2021 05:255,28447,138,59416,908,00002,265,088
2Jun 4, 2021 05:255,30947,765,40214,990,0001,998,0002,265,088
3Jun 4, 2021 05:255,31041,921,27414,994,0001,999,0002,396,160
4Jun 4, 2021 05:255,32833,125,14215,044,0002,005,0002,383,872
5Jun 4, 2021 05:255,33132,942,60015,052,0002,006,0002,265,088
6Jun 4, 2021 05:255,33744,096,01416,073,0001,004,0002,392,064
7Jun 4, 2021 05:255,33748,000,94416,075,0001,004,0002,392,064
8Jun 4, 2021 05:255,34234,068,99316,090,0001,005,0002,387,968
9Jun 4, 2021 05:255,34739,908,87615,098,0002,013,0002,379,776
10Jun 4, 2021 05:255,52080,695,46417,664,70202,285,568
11Jun 4, 2021 05:255,53078,891,55717,694,45202,277,376
12Jun 4, 2021 05:255,54681,643,63417,747,87602,244,608