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 listJul 11, 2023 05:45Andrew MoonAndrew MoonScore: 5,279Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 11, 2023 05:455,27345,817,72515,882,000992,0002,383,872
2Jul 11, 2023 05:455,27445,309,02914,891,0001,985,0002,265,088
3Jul 11, 2023 05:455,27434,601,65014,892,0001,985,0002,265,088
4Jul 11, 2023 05:455,27531,760,53416,879,00002,514,944
5Jul 11, 2023 05:455,27646,876,16714,896,0001,986,0002,387,968
6Jul 11, 2023 05:455,27743,804,01114,900,0001,986,0002,383,872
7Jul 11, 2023 05:455,27948,603,22014,905,0001,987,0002,383,872
8Jul 11, 2023 05:455,28033,596,82715,902,000993,0002,392,064
9Jul 11, 2023 05:455,31435,600,61516,004,0001,000,0002,265,088
10Jul 11, 2023 05:455,47287,693,69717,508,91302,277,376
11Jul 11, 2023 05:455,47472,368,59617,515,89902,244,608
12Jul 11, 2023 05:455,47978,441,82817,533,51002,273,280