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 listJul 24, 2022 12:51Robert BurkeRobert BurkeScore: 4,448Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 24, 2022 12:514,42630,028,04812,141,0002,023,0002,281,472
2Jul 24, 2022 12:514,43431,455,34512,162,0002,027,0002,449,408
3Jul 24, 2022 12:514,44029,882,15712,179,0002,029,0002,449,408
4Jul 24, 2022 12:514,44038,482,51612,179,0002,029,0002,457,600
5Jul 24, 2022 12:514,44232,931,56212,183,0002,030,0002,449,408
6Jul 24, 2022 12:514,44431,673,04312,190,0002,031,0002,441,216
7Jul 24, 2022 12:514,44833,115,87612,202,0002,033,0002,281,472
8Jul 24, 2022 12:514,45728,966,61013,243,0001,018,0002,281,472
9Jul 24, 2022 12:514,46635,196,15113,270,0001,020,0002,281,472
10Jul 24, 2022 12:514,69881,811,83515,033,31702,203,648
11Jul 24, 2022 12:514,70775,747,39015,063,51502,203,648
12Jul 24, 2022 12:514,72085,330,36615,103,10402,203,648