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 19:37джулисджулисScore: 5,401Success
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 19:375,35432,743,95416,125,0001,007,0002,359,296
2Jun 9, 2024 19:375,35644,295,09615,122,0002,016,0002,293,760
3Jun 9, 2024 19:375,35639,585,47615,124,0002,016,0002,293,760
4Jun 9, 2024 19:375,36941,763,12115,161,0002,021,0002,371,584
5Jun 9, 2024 19:375,37238,912,06015,168,0002,022,0002,367,488
6Jun 9, 2024 19:375,38443,279,42915,202,0002,026,0002,367,488
7Jun 9, 2024 19:375,40138,707,98316,268,0001,016,0002,375,680
8Jun 9, 2024 19:375,40839,415,50915,270,0002,036,0002,371,584
9Jun 9, 2024 19:375,41445,292,63816,305,0001,019,0002,371,584
10Jun 9, 2024 19:375,59463,820,19917,901,34802,244,608
11Jun 9, 2024 19:375,65186,567,38918,082,79302,256,896
12Jun 9, 2024 19:375,65772,738,35518,103,47802,256,896