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 8, 2024 19:46джулисджулисScore: 5,583Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2024 19:465,53234,172,49816,662,0001,041,0002,375,680
2Jun 8, 2024 19:465,53751,457,87217,719,00002,367,488
3Jun 8, 2024 19:465,57936,103,43615,869,0001,983,0002,363,392
4Jun 8, 2024 19:465,57943,505,60416,863,000991,0002,367,488
5Jun 8, 2024 19:465,58049,627,42915,873,0001,984,0002,293,760
6Jun 8, 2024 19:465,58144,414,20715,876,0001,984,0002,363,392
7Jun 8, 2024 19:465,58346,311,09917,866,00002,367,488
8Jun 8, 2024 19:465,58547,983,41316,880,000992,0002,293,760
9Jun 8, 2024 19:465,58742,568,38016,884,000993,0002,293,760
10Jun 8, 2024 19:465,76364,606,51218,440,80002,277,376
11Jun 8, 2024 19:465,76879,875,93518,459,01202,240,512
12Jun 8, 2024 19:465,78870,941,31818,522,67302,371,584