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 16:57AnSaAnSaScore: 4,819Success
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 16:574,79128,617,40114,308,0001,022,0002,498,560
2Jun 30, 2024 16:574,79342,352,44815,338,00002,269,184
3Jun 30, 2024 16:574,79738,707,05815,351,00002,486,272
4Jun 30, 2024 16:574,80232,184,54915,366,00002,494,464
5Jun 30, 2024 16:574,80543,573,50115,377,00002,269,184
6Jun 30, 2024 16:574,80940,996,06015,388,00002,494,464
7Jun 30, 2024 16:574,81942,459,52314,393,0001,028,0002,494,464
8Jun 30, 2024 16:574,82145,051,69414,399,0001,028,0002,531,328
9Jun 30, 2024 16:574,83230,739,53114,433,0001,030,0002,531,328
10Jun 30, 2024 16:575,05475,414,52916,173,20902,252,800
11Jun 30, 2024 16:575,07371,506,45916,233,63202,252,800
12Jun 30, 2024 16:575,07395,041,59716,233,70202,244,608