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 15, 2024 13:42kytanskytansScore: 5,481Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 15, 2024 13:425,44394,160,96017,418,32702,256,896
2Jul 15, 2024 13:435,44566,259,07117,422,78102,240,512
3Jul 15, 2024 13:435,46091,370,11917,473,38702,248,704
4Jul 15, 2024 13:445,46284,978,36517,477,66502,244,608
5Jul 15, 2024 13:435,46871,806,13317,498,66502,248,704
6Jul 15, 2024 13:445,47669,877,14517,521,85202,252,800
7Jul 15, 2024 13:425,48194,385,43617,537,92202,244,608
8Jul 15, 2024 13:435,48180,011,96517,538,47602,248,704
9Jul 15, 2024 13:425,49268,481,02617,575,93002,256,896
10Jul 15, 2024 13:435,50099,382,11917,599,80102,252,800
11Jul 15, 2024 13:435,50277,641,83417,605,99302,248,704
12Jul 15, 2024 13:445,50675,667,13417,618,22502,252,800