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 listJul 11, 2023 05:44Andrew MoonAndrew MoonScore: 5,297Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 11, 2023 05:445,27349,808,67914,888,0001,985,0002,383,872
2Jul 11, 2023 05:445,27334,515,95814,888,0001,985,0002,383,872
3Jul 11, 2023 05:445,27643,826,87914,897,0001,986,0002,379,776
4Jul 11, 2023 05:445,27733,085,80914,899,0001,986,0002,383,872
5Jul 11, 2023 05:445,27741,569,86414,900,0001,986,0002,265,088
6Jul 11, 2023 05:445,29246,521,47315,937,000996,0002,265,088
7Jul 11, 2023 05:445,29739,155,23615,954,000997,0002,265,088
8Jul 11, 2023 05:445,30645,365,91415,980,000998,0002,265,088
9Jul 11, 2023 05:445,31932,628,33515,019,0002,002,0002,265,088
10Jul 11, 2023 05:445,48776,474,69517,558,41702,281,472
11Jul 11, 2023 05:445,49089,407,54417,568,29302,285,568
12Jul 11, 2023 05:445,51894,540,42017,657,82102,269,184