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 listJan 2, 2023 14:42Jack FrigaardJack FrigaardScore: 5,598Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2023 14:425,54645,230,24516,704,0001,044,0002,527,232
2Jan 2, 2023 14:425,58442,253,54315,883,0001,985,0002,527,232
3Jan 2, 2023 14:425,58644,936,91315,888,0001,986,0002,285,568
4Jan 2, 2023 14:425,58945,927,19215,897,0001,987,0002,269,184
5Jan 2, 2023 14:425,58944,754,88815,899,0001,987,0002,527,232
6Jan 2, 2023 14:425,59055,038,98216,894,000993,0002,273,280
7Jan 2, 2023 14:425,59840,037,29715,924,0001,990,0002,285,568
8Jan 2, 2023 14:425,60645,323,92216,944,000996,0002,285,568
9Jan 2, 2023 14:425,62341,730,88715,996,0001,999,0002,285,568
10Jan 2, 2023 14:425,78699,042,64918,515,80302,297,856
11Jan 2, 2023 14:425,79361,886,81318,538,11702,306,048
12Jan 2, 2023 14:425,79486,332,31218,540,52402,297,856