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 30, 2023 17:04Alexander MonakovAlexander MonakovScore: 4,932Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 30, 2023 17:044,67333,970,35112,961,0001,994,0002,482,176
2Jun 30, 2023 17:044,68531,505,01411,995,0002,998,0002,269,184
3Jun 30, 2023 17:044,70437,862,60314,049,0001,003,0002,486,272
4Jun 30, 2023 17:044,72133,519,70814,099,0001,007,0002,486,272
5Jun 30, 2023 17:044,72333,097,58114,107,0001,007,0002,531,328
6Jun 30, 2023 17:044,91953,165,42415,740,75602,240,512
7Jun 30, 2023 17:044,93274,245,81315,783,58902,244,608
8Jun 30, 2023 17:044,96075,557,59015,873,04802,240,512
9Jun 30, 2023 17:047,45248,644,63112,917,00010,930,0002,408,448
10Jun 30, 2023 17:047,45751,803,33818,892,0004,971,0002,531,328
11Jun 30, 2023 17:047,46046,316,79017,904,0005,968,0002,326,528
12Jun 30, 2023 17:047,50047,829,29615,001,0009,000,0002,404,352