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,085Success
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,06037,454,04715,180,0001,012,0002,269,184
2Jun 30, 2024 13:325,07038,087,42713,183,0003,042,0002,490,368
3Jun 30, 2024 13:325,07232,425,12614,201,0002,028,0002,490,368
4Jun 30, 2024 13:325,07433,886,47015,223,0001,014,0002,531,328
5Jun 30, 2024 13:325,07934,256,82315,238,0001,015,0002,490,368
6Jun 30, 2024 13:325,08243,220,26114,230,0002,032,0002,531,328
7Jun 30, 2024 13:325,08540,378,60015,255,0001,017,0002,531,328
8Jun 30, 2024 13:325,08931,970,80015,269,0001,017,0002,486,272
9Jun 30, 2024 13:325,10633,150,47014,297,0002,042,0002,490,368
10Jun 30, 2024 13:325,23990,603,09916,765,79402,252,800
11Jun 30, 2024 13:325,26184,040,55916,835,77402,248,704
12Jun 30, 2024 13:325,28575,783,27116,912,18302,252,800