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:11Yuriy LyfenkoYuriy LyfenkoScore: 4,456Success
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:114,426639,036,33912,140,0002,023,0002,523,136
2Jun 12, 2024 03:114,431634,508,69813,167,0001,012,0002,265,088
3Jun 12, 2024 03:114,431640,580,38413,168,0001,012,0002,523,136
4Jun 12, 2024 03:114,437640,911,97412,171,0002,028,0002,265,088
5Jun 12, 2024 03:114,451636,316,20713,226,0001,017,0002,523,136
6Jun 12, 2024 03:114,451641,816,08713,226,0001,017,0002,523,136
7Jun 12, 2024 03:114,456639,217,24514,258,00002,260,992
8Jun 12, 2024 03:114,469645,907,96712,259,0002,043,0002,265,088
9Jun 12, 2024 03:114,497641,282,27813,362,0001,027,0002,260,992
10Jun 12, 2024 03:114,617677,816,01014,775,82002,240,512
11Jun 12, 2024 03:114,629675,481,70714,813,27402,244,608
12Jun 12, 2024 03:114,633676,490,75014,826,98202,277,376