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 7, 2024 07:55Huy Duc LeHuy Duc LeScore: 4,657Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 7, 2024 07:554,59335,868,50613,648,0001,049,0002,265,088
2Mar 7, 2024 07:554,60131,882,89813,672,0001,051,0002,383,872
3Mar 7, 2024 07:554,63831,800,36712,864,0001,979,0002,396,160
4Mar 7, 2024 07:554,64543,439,67614,863,00002,527,232
5Mar 7, 2024 07:554,64640,375,78513,877,000991,0002,265,088
6Mar 7, 2024 07:554,65732,571,15713,839,0001,064,0002,265,088
7Mar 7, 2024 07:554,65731,809,94012,916,0001,987,0002,265,088
8Mar 7, 2024 07:554,65839,791,62613,911,000993,0002,265,088
9Mar 7, 2024 07:554,66133,563,08413,922,000994,0002,383,872
10Mar 7, 2024 07:554,84592,533,19615,503,23602,289,664
11Mar 7, 2024 07:554,86188,295,27715,554,12902,285,568
12Mar 7, 2024 07:554,87877,965,33915,610,75602,289,664