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:10Yuriy LyfenkoYuriy LyfenkoScore: 5,601Success
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:105,58136,093,70716,867,000992,0002,400,256
2May 11, 2021 22:105,58147,468,43215,875,0001,984,0002,523,136
3May 11, 2021 22:105,58446,028,67015,885,0001,985,0002,260,992
4May 11, 2021 22:105,58834,250,98416,887,000993,0002,523,136
5May 11, 2021 22:105,58942,509,81214,905,0002,981,0002,260,992
6May 11, 2021 22:105,59241,411,05415,907,0001,988,0002,260,992
7May 11, 2021 22:105,60148,204,92516,927,000995,0002,523,136
8May 11, 2021 22:105,61034,107,09714,960,0002,992,0002,260,992
9May 11, 2021 22:105,61634,494,99615,974,0001,996,0002,260,992
10May 11, 2021 22:105,76477,299,79418,444,80102,273,280
11May 11, 2021 22:105,76989,401,20918,460,25702,273,280
12May 11, 2021 22:105,79458,339,57718,541,19302,285,568