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 22:04Yuriy LyfenkoYuriy LyfenkoScore: 5,604Success
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 22:045,58043,610,62816,865,000992,0002,260,992
2May 11, 2021 22:045,58646,928,20515,888,0001,986,0002,387,968
3May 11, 2021 22:045,59242,493,37015,906,0001,988,0002,265,088
4May 11, 2021 22:045,59443,677,55716,907,000994,0002,383,872
5May 11, 2021 22:045,59945,688,88816,921,000995,0002,396,160
6May 11, 2021 22:045,60445,549,32015,940,0001,992,0002,392,064
7May 11, 2021 22:045,60445,073,13416,938,000996,0002,523,136
8May 11, 2021 22:045,61445,881,62416,967,000998,0002,392,064
9May 11, 2021 22:045,61946,757,24316,982,000998,0002,523,136
10May 11, 2021 22:045,74676,332,14018,388,29902,265,088
11May 11, 2021 22:045,75864,088,39618,425,44702,273,280
12May 11, 2021 22:045,78859,604,40518,521,60602,277,376