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 listOct 30, 2023 22:38goon-goon-Score: 5,542Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 30, 2023 22:385,50836,734,31517,626,00002,265,088
2Oct 30, 2023 22:385,50934,410,19817,630,00002,265,088
3Oct 30, 2023 22:385,51334,309,95417,641,00002,265,088
4Oct 30, 2023 22:385,51536,166,66617,649,00002,265,088
5Oct 30, 2023 22:385,51745,094,18116,616,0001,038,0002,265,088
6Oct 30, 2023 22:385,52544,942,98516,641,0001,040,0002,527,232
7Oct 30, 2023 22:385,54245,191,10317,734,00002,387,968
8Oct 30, 2023 22:385,55041,573,43116,715,0001,044,0002,265,088
9Oct 30, 2023 22:385,58142,785,08116,868,000992,0002,379,776
10Oct 30, 2023 22:385,85982,702,98118,747,63902,277,376
11Oct 30, 2023 22:385,85979,977,52918,747,35302,269,184
12Oct 30, 2023 22:385,866119,047,55318,770,93802,265,088