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 21:11джулисджулисScore: 5,331Success
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 21:115,29347,366,94014,945,0001,992,0002,367,488
2Jun 9, 2024 21:115,29944,879,93115,960,000997,0002,359,296
3Jun 9, 2024 21:115,30441,312,10714,976,0001,996,0002,375,680
4Jun 9, 2024 21:115,30644,654,08014,981,0001,997,0002,293,760
5Jun 9, 2024 21:115,30834,701,98914,986,0001,998,0002,293,760
6Jun 9, 2024 21:115,31949,377,48616,019,0001,001,0002,379,776
7Jun 9, 2024 21:115,33143,431,99015,053,0002,007,0002,293,760
8Jun 9, 2024 21:115,33443,976,40015,061,0002,008,0002,293,760
9Jun 9, 2024 21:115,34033,074,54215,078,0002,010,0002,293,760
10Jun 9, 2024 21:115,53771,320,47917,716,90002,252,800
11Jun 9, 2024 21:115,58278,862,08317,862,28002,244,608
12Jun 9, 2024 21:115,608118,595,96617,945,74202,256,896