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 19, 2024 12:15matsuoka-601matsuoka-601Score: 4,964Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 19, 2024 12:154,88542,471,81915,631,00002,281,472
2Apr 19, 2024 12:154,90935,536,69214,663,0001,047,0002,281,472
3Apr 19, 2024 12:154,92134,972,25314,698,0001,049,0002,293,760
4Apr 19, 2024 12:154,96045,781,39513,888,0001,984,0002,269,184
5Apr 19, 2024 12:154,96241,514,18914,886,000992,0002,273,280
6Apr 19, 2024 12:154,96436,183,76013,899,0001,985,0002,293,760
7Apr 19, 2024 12:154,96442,210,34815,886,00002,383,872
8Apr 19, 2024 12:154,96532,459,24914,895,000993,0002,277,376
9Apr 19, 2024 12:154,96733,364,69914,900,000993,0002,293,760
10Apr 19, 2024 12:155,17968,828,17016,571,22102,306,048
11Apr 19, 2024 12:155,20193,079,39316,644,76002,301,952
12Apr 19, 2024 12:155,21376,359,88716,682,47402,310,144