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:45MylesMylesScore: 4,486Success
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:454,45934,481,07613,250,0001,019,0002,281,472
2Aug 3, 2024 04:454,46535,489,50213,269,0001,020,0002,449,408
3Aug 3, 2024 04:454,46630,251,36013,271,0001,020,0002,437,120
4Aug 3, 2024 04:454,47938,034,99313,309,0001,023,0002,281,472
5Aug 3, 2024 04:454,48533,623,84913,326,0001,025,0002,281,472
6Aug 3, 2024 04:454,48531,195,93513,326,0001,025,0002,433,024
7Aug 3, 2024 04:454,48628,478,92213,329,0001,025,0002,281,472
8Aug 3, 2024 04:454,49128,770,79013,346,0001,026,0002,277,376
9Aug 3, 2024 04:454,49642,391,18213,360,0001,027,0002,453,504
10Aug 3, 2024 04:454,74873,497,11915,192,44202,334,720
11Aug 3, 2024 04:454,79475,326,26115,339,57302,338,816
12Aug 3, 2024 04:454,80184,122,59115,364,04502,207,744