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, 2024 13:15AnSaAnSaScore: 4,801Success
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, 2024 13:154,75834,064,83214,210,0001,015,0002,531,328
2Jun 30, 2024 13:154,77336,304,75913,236,0002,036,0002,502,656
3Jun 30, 2024 13:154,77338,071,34915,275,00002,269,184
4Jun 30, 2024 13:154,78733,671,19114,296,0001,021,0002,506,752
5Jun 30, 2024 13:154,79430,680,77512,274,0003,068,0002,531,328
6Jun 30, 2024 13:154,79538,548,74415,343,00002,502,656
7Jun 30, 2024 13:154,80133,192,82914,340,0001,024,0002,531,328
8Jun 30, 2024 13:154,80129,938,03713,316,0002,048,0002,531,328
9Jun 30, 2024 13:154,80441,744,06814,349,0001,024,0002,531,328
10Jun 30, 2024 13:155,07082,638,66616,222,61702,252,800
11Jun 30, 2024 13:155,09567,384,94516,303,47702,248,704
12Jun 30, 2024 13:155,104102,776,40616,334,08002,244,608