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 listJun 19, 2023 21:28Ulyanov AlekseyUlyanov AlekseyScore: 5,698Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 19, 2023 21:285,65942,258,24116,098,0002,012,0002,273,280
2Jun 19, 2023 21:285,66244,350,25516,106,0002,013,0002,289,664
3Jun 19, 2023 21:285,67334,523,70616,137,0002,017,0002,273,280
4Jun 19, 2023 21:285,67440,516,27716,140,0002,017,0002,289,664
5Jun 19, 2023 21:285,68044,455,61616,157,0002,019,0002,273,280
6Jun 19, 2023 21:285,68143,009,51717,169,0001,009,0002,289,664
7Jun 19, 2023 21:285,69845,088,27216,207,0002,025,0002,277,376
8Jun 19, 2023 21:285,70035,177,92216,213,0002,026,0002,371,584
9Jun 19, 2023 21:285,71139,884,44617,260,0001,015,0002,289,664
10Jun 19, 2023 21:285,88684,285,89918,834,81002,297,856
11Jun 19, 2023 21:285,89786,870,38318,870,07302,301,952
12Jun 19, 2023 21:285,90183,487,59218,881,74702,293,760