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 listOct 7, 2025 17:53Aleksei ShahoikaAleksei ShahoikaScore: 4,825Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 7, 2025 17:534,80238,504,81815,367,00002,265,088
2Oct 7, 2025 17:534,80431,083,62614,348,0001,024,0002,265,088
3Oct 7, 2025 17:534,81037,666,86814,365,0001,026,0002,285,568
4Oct 7, 2025 17:534,81843,783,16314,390,0001,027,0002,273,280
5Oct 7, 2025 17:534,82532,919,45015,441,00002,523,136
6Oct 7, 2025 17:534,84030,262,67414,457,0001,032,0002,285,568
7Oct 7, 2025 17:534,84942,890,08614,483,0001,034,0002,285,568
8Oct 7, 2025 17:534,85033,437,27314,485,0001,034,0002,285,568
9Oct 7, 2025 17:534,85536,465,39914,502,0001,035,0002,510,848