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 listAug 3, 2024 04:44MylesMylesScore: 4,530Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 3, 2024 04:444,50435,236,33513,385,0001,029,0002,449,408
2Aug 3, 2024 04:444,50934,970,81313,399,0001,030,0002,449,408
3Aug 3, 2024 04:444,51434,650,92213,413,0001,031,0002,453,504
4Aug 3, 2024 04:444,51630,547,64813,420,0001,032,0002,281,472
5Aug 3, 2024 04:444,51829,956,70114,456,00002,453,504
6Aug 3, 2024 04:444,52630,590,69213,448,0001,034,0002,445,312
7Aug 3, 2024 04:444,53031,092,52913,460,0001,035,0002,449,408
8Aug 3, 2024 04:444,54327,587,20713,501,0001,038,0002,453,504
9Aug 3, 2024 04:444,56033,290,72313,549,0001,042,0002,445,312
10Aug 3, 2024 04:444,81373,601,96915,400,59702,211,840
11Aug 3, 2024 04:444,81380,237,41615,401,97502,334,720
12Aug 3, 2024 04:444,83576,490,51515,472,63402,199,552