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:30Yuriy LyfenkoYuriy LyfenkoScore: 4,493Success
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:304,453634,134,32114,250,00002,523,136
2Jun 12, 2024 03:304,460635,061,16713,254,0001,019,0002,265,088
3Jun 12, 2024 03:304,473636,009,80513,293,0001,022,0002,523,136
4Jun 12, 2024 03:304,490637,298,75613,341,0001,026,0002,387,968
5Jun 12, 2024 03:304,492636,281,38314,374,00002,523,136
6Jun 12, 2024 03:304,493637,732,32913,350,0001,026,0002,265,088
7Jun 12, 2024 03:304,493636,668,26214,379,00002,260,992
8Jun 12, 2024 03:304,509642,957,13213,398,0001,030,0002,260,992
9Jun 12, 2024 03:304,523647,364,04713,441,0001,033,0002,260,992
10Jun 12, 2024 03:304,677681,763,77114,966,61002,240,512
11Jun 12, 2024 03:304,702683,166,71215,046,94902,281,472
12Jun 12, 2024 03:304,709685,941,39515,067,55502,342,912