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 listJun 2, 2021 14:05Yuriy LyfenkoYuriy LyfenkoScore: 5,053Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 2, 2021 14:055,01932,920,61714,055,0002,007,0002,404,352
2Jun 2, 2021 14:055,02849,472,01214,079,0002,011,0002,473,984
3Jun 2, 2021 14:055,03041,586,23915,090,0001,006,0002,400,256
4Jun 2, 2021 14:055,04046,837,33315,121,0001,008,0002,265,088
5Jun 2, 2021 14:055,04139,365,20814,116,0002,016,0002,265,088
6Jun 2, 2021 14:055,04937,107,22115,148,0001,009,0002,392,064
7Jun 2, 2021 14:055,05334,926,38014,149,0002,021,0002,265,088
8Jun 2, 2021 14:055,06232,123,85815,185,0001,012,0002,265,088
9Jun 2, 2021 14:055,08134,227,42514,227,0002,032,0002,392,064
10Jun 2, 2021 14:055,22788,442,97316,725,30702,269,184
11Jun 2, 2021 14:055,22977,680,45816,733,28502,269,184
12Jun 2, 2021 14:055,30081,763,17416,960,64602,277,376