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:32AnSaAnSaScore: 5,096Success
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:325,03839,347,45714,106,0002,015,0002,490,368
2Jun 30, 2024 13:325,04539,972,24115,135,0001,009,0002,531,328
3Jun 30, 2024 13:325,06040,665,28514,169,0002,024,0002,269,184
4Jun 30, 2024 13:325,06434,186,59815,193,0001,012,0002,486,272
5Jun 30, 2024 13:325,08040,739,77013,208,0003,048,0002,486,272
6Jun 30, 2024 13:325,08844,082,66515,266,0001,017,0002,490,368
7Jun 30, 2024 13:325,09638,589,05615,289,0001,019,0002,494,464
8Jun 30, 2024 13:325,09936,954,66815,297,0001,019,0002,490,368
9Jun 30, 2024 13:325,10832,804,54014,303,0002,043,0002,490,368
10Jun 30, 2024 13:325,27287,696,48016,869,60502,248,704
11Jun 30, 2024 13:325,30878,303,55716,984,98902,248,704
12Jun 30, 2024 13:325,34294,001,96217,093,72602,252,800