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 listJul 18, 2024 11:59Matt StuchlikMatt StuchlikScore: 5,495Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 18, 2024 11:595,46538,946,90316,460,0001,028,0002,269,184
2Jul 18, 2024 11:595,46536,377,45216,461,0001,028,0002,289,664
3Jul 18, 2024 11:595,46740,623,22416,465,0001,029,0002,289,664
4Jul 18, 2024 11:595,48542,257,58516,521,0001,032,0002,289,664
5Jul 18, 2024 11:595,48540,789,03916,521,0001,032,0002,289,664
6Jul 18, 2024 11:595,49342,045,41516,543,0001,033,0002,289,664
7Jul 18, 2024 11:595,49541,156,25416,550,0001,034,0002,527,232
8Jul 18, 2024 11:595,50540,155,84816,579,0001,036,0002,289,664
9Jul 18, 2024 11:595,51342,006,64016,606,0001,037,0002,289,664
10Jul 18, 2024 11:595,70492,061,83318,251,90402,301,952
11Jul 18, 2024 11:595,70785,038,89918,262,96702,179,072
12Jul 18, 2024 11:595,72979,648,39318,334,08002,301,952