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 9, 2024 20:36джулисджулисScore: 5,603Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 9, 2024 20:365,58845,072,48015,895,0001,986,0002,367,488
2Jun 9, 2024 20:365,58844,223,97515,896,0001,987,0002,363,392
3Jun 9, 2024 20:365,59247,909,48315,906,0001,988,0002,293,760
4Jun 9, 2024 20:365,59434,274,70016,848,0001,053,0002,293,760
5Jun 9, 2024 20:365,59647,587,08316,913,000994,0002,367,488
6Jun 9, 2024 20:365,59746,043,77017,910,00002,371,584
7Jun 9, 2024 20:365,60344,043,50515,936,0001,992,0002,498,560
8Jun 9, 2024 20:365,60948,763,61215,955,0001,994,0002,367,488
9Jun 9, 2024 20:365,61536,400,73315,971,0001,996,0002,379,776
10Jun 9, 2024 20:365,808102,975,43818,586,99602,244,608
11Jun 9, 2024 20:365,84468,785,05718,702,11902,244,608
12Jun 9, 2024 20:365,845109,056,72418,703,73502,240,512