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 listMar 16, 2023 08:53Alexander MonakovAlexander MonakovScore: 5,148Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 16, 2023 08:535,11144,738,80216,356,00002,277,376
2Mar 16, 2023 08:535,11334,781,14216,363,00002,277,376
3Mar 16, 2023 08:535,11742,088,79316,373,00002,277,376
4Mar 16, 2023 08:535,12335,928,98016,393,00002,498,560
5Mar 16, 2023 08:535,13835,105,20916,441,00002,277,376
6Mar 16, 2023 08:535,14536,252,47016,464,00002,277,376
7Mar 16, 2023 08:535,14839,392,65716,475,00002,498,560
8Mar 16, 2023 08:535,15341,310,13715,460,0001,030,0002,277,376
9Mar 16, 2023 08:535,17229,927,45915,516,0001,034,0002,498,560
10Mar 16, 2023 08:535,33889,221,90717,081,29902,240,512
11Mar 16, 2023 08:535,34159,246,19017,089,63902,252,800
12Mar 16, 2023 08:535,37470,237,36017,197,60802,244,608