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 listApr 11, 2024 17:18Drew GarciaDrew GarciaScore: 5,277Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 11, 2024 17:185,21040,098,26216,671,00002,269,184
2Apr 11, 2024 17:185,23333,075,21715,698,0001,046,0002,269,184
3Apr 11, 2024 17:185,27347,106,42815,882,000992,0002,400,256
4Apr 11, 2024 17:185,27434,384,73516,877,00002,404,352
5Apr 11, 2024 17:185,27541,582,76714,895,0001,986,0002,269,184
6Apr 11, 2024 17:185,27638,323,93016,882,00002,269,184
7Apr 11, 2024 17:185,27748,875,28416,885,00002,269,184
8Apr 11, 2024 17:185,28433,452,42715,914,000994,0002,273,280
9Apr 11, 2024 17:185,30045,751,69214,965,0001,995,0002,269,184
10Apr 11, 2024 17:185,54981,384,28517,757,62202,215,936
11Apr 11, 2024 17:185,56372,532,66617,802,79802,301,952
12Apr 11, 2024 17:185,573107,439,98217,833,92302,174,976