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 listSep 16, 2024 10:02Dmitrii KravchenkoDmitrii KravchenkoScore: 5,597Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 16, 2024 10:025,58448,171,13616,876,000992,0002,273,280
2Sep 16, 2024 10:025,58450,541,74117,869,00002,281,472
3Sep 16, 2024 10:025,59146,252,87115,904,0001,988,0002,281,472
4Sep 16, 2024 10:025,59548,835,33713,925,0003,978,0002,281,472
5Sep 16, 2024 10:025,59754,854,81815,921,0001,990,0002,281,472
6Sep 16, 2024 10:025,60842,193,70415,952,0001,994,0002,281,472
7Sep 16, 2024 10:025,61240,477,18715,964,0001,995,0002,273,280
8Sep 16, 2024 10:025,61547,205,49315,971,0001,996,0002,281,472
9Sep 16, 2024 10:025,68646,699,63616,174,0002,021,0002,281,472