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 listJan 23, 2024 18:45AnSaAnSaScore: 5,277Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 23, 2024 18:455,27045,798,35815,873,000992,0002,281,472
2Jan 23, 2024 18:455,27139,992,12814,883,0001,984,0002,281,472
3Jan 23, 2024 18:455,27142,545,74015,876,000992,0002,281,472
4Jan 23, 2024 18:455,27338,154,53615,881,000992,0002,281,472
5Jan 23, 2024 18:455,27444,309,23814,891,0001,985,0002,396,160
6Jan 23, 2024 18:455,27447,855,61714,891,0001,985,0002,281,472
7Jan 23, 2024 18:455,27745,527,78915,892,000993,0002,392,064
8Jan 23, 2024 18:455,27835,169,78515,895,000993,0002,392,064
9Jan 23, 2024 18:455,29333,159,64915,941,000996,0002,281,472
10Jan 23, 2024 18:455,48667,821,93117,555,05302,285,568
11Jan 23, 2024 18:455,48786,781,84317,557,31002,289,664
12Jan 23, 2024 18:455,48968,298,32617,565,61202,285,568