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 listMay 11, 2021 21:43Yuriy LyfenkoYuriy LyfenkoScore: 5,694Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2021 21:435,63845,341,07117,040,0001,002,0002,260,992
2May 11, 2021 21:435,63942,071,98217,043,0001,002,0002,260,992
3May 11, 2021 21:435,64846,611,13716,067,0002,008,0002,392,064
4May 11, 2021 21:435,65149,042,09316,073,0002,009,0002,396,160
5May 11, 2021 21:435,66645,954,60617,124,0001,007,0002,510,848
6May 11, 2021 21:435,67146,713,46316,131,0002,016,0002,387,968
7May 11, 2021 21:435,69448,806,27817,208,0001,012,0002,265,088
8May 11, 2021 21:435,70837,971,33016,235,0002,029,0002,392,064
9May 11, 2021 21:435,71141,886,37117,261,0001,015,0002,523,136
10May 11, 2021 21:435,87675,314,73918,803,58802,277,376
11May 11, 2021 21:435,88594,303,64918,831,08102,281,472
12May 11, 2021 21:435,90684,809,09118,899,90602,269,184