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 listSep 7, 2022 02:48Yuriy LyfenkoYuriy LyfenkoScore: 4,444Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 7, 2022 02:484,403640,503,21612,076,0002,012,0002,265,088
2Sep 7, 2022 02:484,409643,594,74112,093,0002,015,0002,523,136
3Sep 7, 2022 02:484,410644,499,74812,097,0002,016,0002,523,136
4Sep 7, 2022 02:484,413640,502,46113,113,0001,008,0002,400,256
5Sep 7, 2022 02:484,421635,684,29413,136,0001,010,0002,260,992
6Sep 7, 2022 02:484,428638,391,15212,147,0002,024,0002,260,992
7Sep 7, 2022 02:484,444643,558,81912,189,0002,031,0002,396,160
8Sep 7, 2022 02:484,446639,148,84914,226,00002,265,088
9Sep 7, 2022 02:484,457644,179,33213,244,0001,018,0002,523,136
10Sep 7, 2022 02:484,588669,162,67614,681,42802,244,608
11Sep 7, 2022 02:484,601672,068,68914,722,59302,277,376
12Sep 7, 2022 02:484,623682,643,66514,792,12802,269,184