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 17, 2023 22:11Ulyanov AlekseyUlyanov AlekseyScore: 5,736Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 17, 2023 22:115,66539,390,23216,113,0002,014,0002,269,184
2Jun 17, 2023 22:115,67139,675,02916,132,0002,016,0002,281,472
3Jun 17, 2023 22:115,68344,929,41916,167,0002,020,0002,281,472
4Jun 17, 2023 22:115,68839,087,83316,180,0002,022,0002,289,664
5Jun 17, 2023 22:115,71736,564,32717,277,0001,016,0002,379,776
6Jun 17, 2023 22:115,72651,234,37916,288,0002,036,0002,289,664
7Jun 17, 2023 22:115,73641,242,68716,315,0002,039,0002,355,200
8Jun 17, 2023 22:115,73941,940,62516,325,0002,040,0002,289,664
9Jun 17, 2023 22:115,74942,675,16117,374,0001,022,0002,289,664
10Jun 17, 2023 22:115,82879,906,35118,650,96102,301,952
11Jun 17, 2023 22:115,86184,316,09718,756,05902,301,952
12Jun 17, 2023 22:115,89686,787,59418,868,04602,289,664