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 19:26AnSaAnSaScore: 5,270Success
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 19:265,19334,018,23116,616,00002,400,256
2Jan 23, 2024 19:265,20345,507,30916,648,00002,285,568
3Jan 23, 2024 19:265,21840,494,75816,697,00002,392,064
4Jan 23, 2024 19:265,21934,156,75815,658,0001,043,0002,383,872
5Jan 23, 2024 19:265,21941,875,63215,659,0001,043,0002,392,064
6Jan 23, 2024 19:265,22043,515,16616,704,00002,514,944
7Jan 23, 2024 19:265,27033,895,37515,873,000992,0002,285,568
8Jan 23, 2024 19:265,27044,240,25815,873,000992,0002,285,568
9Jan 23, 2024 19:265,27643,580,17516,882,00002,285,568
10Jan 23, 2024 19:265,34759,417,05817,109,60902,281,472
11Jan 23, 2024 19:265,35581,638,82417,134,96802,277,376
12Jan 23, 2024 19:265,36288,157,93617,158,13202,269,184