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 listMar 17, 2023 22:48Alexander MonakovAlexander MonakovScore: 4,820Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 17, 2023 22:484,77335,041,53515,273,00002,277,376
2Mar 17, 2023 22:484,77634,729,08715,283,00002,502,656
3Mar 17, 2023 22:484,78231,766,62315,303,00002,277,376
4Mar 17, 2023 22:484,79444,098,82715,341,00002,498,560
5Mar 17, 2023 22:484,81830,262,36015,417,00002,277,376
6Mar 17, 2023 22:484,81933,600,66715,422,00002,486,272
7Mar 17, 2023 22:484,82032,470,38115,423,00002,273,280
8Mar 17, 2023 22:484,82535,026,91515,441,00002,494,464
9Mar 17, 2023 22:484,83335,408,67915,466,00002,494,464
10Mar 17, 2023 22:484,98775,093,94215,958,56302,244,608
11Mar 17, 2023 22:485,02488,053,83716,075,68302,248,704
12Mar 17, 2023 22:485,04693,427,83116,147,99802,228,224