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 19, 2024 09:43AnSaAnSaScore: 5,938Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 19, 2024 09:435,89541,226,91416,880,0001,985,0002,281,472
2Jan 19, 2024 09:435,89845,002,33617,881,000993,0002,387,968
3Jan 19, 2024 09:435,90747,033,77616,913,0001,989,0002,392,064
4Jan 19, 2024 09:435,91143,764,83917,919,000995,0002,281,472
5Jan 19, 2024 09:435,92340,110,29817,955,000997,0002,281,472
6Jan 19, 2024 09:435,92542,342,51616,965,0001,995,0002,387,968
7Jan 19, 2024 09:435,93834,597,57017,001,0002,000,0002,510,848
8Jan 19, 2024 09:435,94246,989,22117,013,0002,001,0002,281,472
9Jan 19, 2024 09:435,94348,370,78817,016,0002,001,0002,281,472
10Jan 19, 2024 09:436,08988,786,52319,483,86902,256,896
11Jan 19, 2024 09:436,10795,711,24719,542,90202,256,896
12Jan 19, 2024 09:436,11084,395,74619,553,54902,256,896