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 12, 2024 03:37Yuriy LyfenkoYuriy LyfenkoScore: 4,452Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 12, 2024 03:374,428643,694,15112,145,0002,024,0002,265,088
2Jun 12, 2024 03:374,440640,792,21312,178,0002,029,0002,265,088
3Jun 12, 2024 03:374,443637,237,50013,201,0001,015,0002,260,992
4Jun 12, 2024 03:374,443637,392,01213,204,0001,015,0002,523,136
5Jun 12, 2024 03:374,448641,684,88413,217,0001,016,0002,265,088
6Jun 12, 2024 03:374,450638,662,33514,240,00002,265,088
7Jun 12, 2024 03:374,452643,857,24713,230,0001,017,0002,523,136
8Jun 12, 2024 03:374,460637,317,98013,254,0001,019,0002,260,992
9Jun 12, 2024 03:374,474640,863,02812,271,0002,045,0002,527,232
10Jun 12, 2024 03:374,638668,253,91714,840,73302,240,512
11Jun 12, 2024 03:374,647677,065,25314,871,67502,285,568
12Jun 12, 2024 03:374,652686,241,11914,887,57302,277,376