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 15, 2024 09:43CalCalScore: 5,416Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 15, 2024 09:435,37144,479,85716,176,0001,011,0002,281,472
2Jan 15, 2024 09:435,37735,100,79215,182,0002,024,0002,396,160
3Jan 15, 2024 09:435,38244,522,87715,197,0002,026,0002,281,472
4Jan 15, 2024 09:435,39343,519,93115,226,0002,030,0002,408,448
5Jan 15, 2024 09:435,40344,196,06916,274,0001,017,0002,281,472
6Jan 15, 2024 09:435,40451,657,50715,259,0002,034,0002,281,472
7Jan 15, 2024 09:435,41645,769,24117,331,00002,281,472
8Jan 15, 2024 09:435,41946,845,32517,340,00002,281,472
9Jan 15, 2024 09:435,42436,602,16217,356,00002,510,848
10Jan 15, 2024 09:435,57997,830,58617,851,53702,293,760
11Jan 15, 2024 09:435,58963,321,48317,883,81902,301,952
12Jan 15, 2024 09:435,59586,382,11417,903,67602,293,760