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 listMay 13, 2021 19:45alex3dalex3dScore: 4,817Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 13, 2021 19:454,78534,581,70813,270,0002,041,0002,265,088
2May 13, 2021 19:454,78842,781,19014,299,0001,021,0002,392,064
3May 13, 2021 19:454,79436,339,64915,341,00002,265,088
4May 13, 2021 19:454,79831,934,41213,308,0002,047,0002,265,088
5May 13, 2021 19:454,80235,509,00115,365,00002,269,184
6May 13, 2021 19:454,80835,773,50614,362,0001,025,0002,265,088
7May 13, 2021 19:454,81735,534,58414,388,0001,027,0002,387,968
8May 13, 2021 19:454,81933,606,70614,392,0001,028,0002,265,088
9May 13, 2021 19:454,82031,369,77314,397,0001,028,0002,265,088
10May 13, 2021 19:455,04972,252,92416,155,34202,277,376
11May 13, 2021 19:455,06376,980,41416,201,61302,277,376
12May 13, 2021 19:455,10799,913,83816,341,83902,277,376