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 listJul 25, 2024 16:09Yuriy LyfenkoYuriy LyfenkoScore: 4,485Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 25, 2024 16:094,449541,706,67113,221,0001,017,0002,387,968
2Jul 25, 2024 16:094,463536,132,34214,280,00002,523,136
3Jul 25, 2024 16:094,464534,936,96213,265,0001,020,0002,265,088
4Jul 25, 2024 16:094,465546,591,00914,289,00002,260,992
5Jul 25, 2024 16:094,467537,283,65013,274,0001,021,0002,523,136
6Jul 25, 2024 16:094,469539,767,22914,300,00002,265,088
7Jul 25, 2024 16:094,485546,506,90314,351,00002,527,232
8Jul 25, 2024 16:094,493537,380,91013,350,0001,026,0002,523,136
9Jul 25, 2024 16:094,507538,277,99013,393,0001,030,0002,523,136
10Jul 25, 2024 16:094,678566,599,09014,968,76102,281,472
11Jul 25, 2024 16:094,684584,750,34614,988,82802,240,512
12Jul 25, 2024 16:094,705596,030,77015,056,11302,240,512