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:44Yuriy LyfenkoYuriy LyfenkoScore: 4,462Success
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:444,432538,151,51912,156,0002,026,0002,265,088
2Jun 12, 2024 03:444,439539,873,31712,177,0002,029,0002,260,992
3Jun 12, 2024 03:444,444541,297,73813,206,0001,015,0002,523,136
4Jun 12, 2024 03:444,445539,871,26013,209,0001,016,0002,260,992
5Jun 12, 2024 03:444,450535,817,88114,241,00002,523,136
6Jun 12, 2024 03:444,461540,021,92814,276,00002,523,136
7Jun 12, 2024 03:444,462535,924,66813,259,0001,019,0002,265,088
8Jun 12, 2024 03:444,470535,913,49613,284,0001,021,0002,265,088
9Jun 12, 2024 03:444,487537,995,52413,333,0001,025,0002,265,088
10Jun 12, 2024 03:444,624572,374,03414,795,84102,240,512
11Jun 12, 2024 03:444,632569,981,73314,823,72002,244,608
12Jun 12, 2024 03:444,643570,762,42214,856,76702,281,472