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 17, 2021 13:59Yuriy LyfenkoYuriy LyfenkoScore: 5,696Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2021 13:595,6231,139,747,53315,996,0001,999,0002,523,136
2May 17, 2021 13:595,6351,296,803,81416,028,0002,003,0002,265,088
3May 17, 2021 13:595,6393,576,479,03916,040,0002,005,0002,523,136
4May 17, 2021 13:595,6432,429,632,38217,106,000950,0002,265,088
5May 17, 2021 13:595,6704,841,968,02718,144,00002,265,088
6May 17, 2021 13:595,6844,002,763,80515,318,0002,872,0002,265,088
7May 17, 2021 13:595,6963,645,852,21215,350,0002,878,0002,265,088
8May 17, 2021 13:595,702978,803,47316,326,0001,920,0002,527,232
9May 17, 2021 13:595,706993,039,18418,259,00002,269,184
10May 17, 2021 13:595,8374,996,750,25618,676,97702,277,376
11May 17, 2021 13:595,8883,478,188,19218,840,35602,281,472
12May 17, 2021 13:595,890711,786,80718,846,57102,281,472