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 18, 2024 15:03AnSaAnSaScore: 5,498Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 18, 2024 15:035,47839,954,08116,498,0001,031,0002,269,184
2Jan 18, 2024 15:035,48440,204,27217,548,00002,383,872
3Jan 18, 2024 15:035,48541,055,54316,521,0001,032,0002,265,088
4Jan 18, 2024 15:035,49142,657,08616,537,0001,033,0002,265,088
5Jan 18, 2024 15:035,49439,888,52617,580,00002,265,088
6Jan 18, 2024 15:035,49642,686,31816,554,0001,034,0002,383,872
7Jan 18, 2024 15:035,49841,471,98916,558,0001,034,0002,383,872
8Jan 18, 2024 15:035,50847,578,34716,588,0001,036,0002,527,232
9Jan 18, 2024 15:035,58342,933,10915,881,0001,985,0002,265,088
10Jan 18, 2024 15:035,94886,407,13819,033,26002,281,472
11Jan 18, 2024 15:035,95491,691,51019,053,83602,269,184
12Jan 18, 2024 15:035,96776,107,78019,094,05102,269,184