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 listApr 18, 2024 14:16Robert BurkeRobert BurkeScore: 4,535Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 18, 2024 14:164,51839,418,09013,427,0001,032,0002,441,216
2Apr 18, 2024 14:164,52234,087,26413,437,0001,033,0002,453,504
3Apr 18, 2024 14:164,52930,278,91413,458,0001,035,0002,445,312
4Apr 18, 2024 14:164,52933,840,99513,459,0001,035,0002,453,504
5Apr 18, 2024 14:164,53139,968,70013,464,0001,035,0002,281,472
6Apr 18, 2024 14:164,53128,826,48813,465,0001,035,0002,453,504
7Apr 18, 2024 14:164,53532,339,52013,477,0001,036,0002,273,280
8Apr 18, 2024 14:164,53930,584,71613,489,0001,037,0002,437,120
9Apr 18, 2024 14:164,55032,588,86613,521,0001,040,0002,457,600
10Apr 18, 2024 14:164,82574,897,85415,440,59702,211,840
11Apr 18, 2024 14:164,84589,911,06115,503,63802,199,552
12Apr 18, 2024 14:164,87485,145,68215,595,36402,203,648