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:55Yuriy LyfenkoYuriy LyfenkoScore: 5,706Success
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:555,67250,386,12616,133,0002,016,0002,523,136
2May 11, 2021 21:555,68142,476,78216,160,0002,020,0002,265,088
3May 11, 2021 21:555,68241,239,57116,162,0002,020,0002,396,160
4May 11, 2021 21:555,68343,926,72216,167,0002,020,0002,523,136
5May 11, 2021 21:555,68648,107,18116,174,0002,021,0002,260,992
6May 11, 2021 21:555,69344,851,99917,206,0001,012,0002,392,064
7May 11, 2021 21:555,70639,319,58816,231,0002,028,0002,523,136
8May 11, 2021 21:555,71044,241,22418,272,00002,387,968
9May 11, 2021 21:555,71534,139,55316,257,0002,032,0002,392,064
10May 11, 2021 21:555,86267,743,90318,757,23002,269,184
11May 11, 2021 21:555,94397,122,32419,016,56902,273,280
12May 11, 2021 21:555,95796,339,33719,062,85302,260,992