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 13, 2021 22:21Yuriy LyfenkoYuriy LyfenkoScore: 5,588Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 13, 2021 22:215,57750,571,19114,872,0002,974,0002,523,136
2May 13, 2021 22:215,58041,334,61716,864,000992,0002,523,136
3May 13, 2021 22:215,58435,000,97015,883,0001,985,0002,523,136
4May 13, 2021 22:215,58549,164,15915,886,0001,985,0002,396,160
5May 13, 2021 22:215,58643,676,50715,889,0001,986,0002,260,992
6May 13, 2021 22:215,58747,203,84817,879,00002,392,064
7May 13, 2021 22:215,58846,151,18616,889,000993,0002,523,136
8May 13, 2021 22:215,59246,497,00016,842,0001,052,0002,523,136
9May 13, 2021 22:215,61136,466,18515,960,0001,995,0002,523,136
10May 13, 2021 22:215,73183,885,56018,339,19202,281,472
11May 13, 2021 22:215,76982,617,62018,459,67402,277,376
12May 13, 2021 22:215,79991,440,95818,558,27602,269,184