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:12Yuriy LyfenkoYuriy LyfenkoScore: 4,448Success
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:124,413535,664,44912,103,0002,017,0002,260,992
2Sep 7, 2022 02:124,426539,322,35312,141,0002,023,0002,265,088
3Sep 7, 2022 02:124,433539,269,53012,160,0002,026,0002,523,136
4Sep 7, 2022 02:124,437550,641,11712,171,0002,028,0002,392,064
5Sep 7, 2022 02:124,439533,160,43114,205,00002,523,136
6Sep 7, 2022 02:124,444535,013,40513,205,0001,015,0002,523,136
7Sep 7, 2022 02:124,448541,064,61612,199,0002,033,0002,523,136
8Sep 7, 2022 02:124,453540,169,14012,215,0002,035,0002,260,992
9Sep 7, 2022 02:124,456542,181,95513,242,0001,018,0002,383,872
10Sep 7, 2022 02:124,602580,290,84314,725,18602,244,608
11Sep 7, 2022 02:124,620577,804,65514,782,74202,240,512
12Sep 7, 2022 02:124,629572,490,55214,812,72902,273,280