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 listJun 13, 2024 12:56AndreyTSAndreyTSScore: 5,502Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 13, 2024 12:565,48035,247,88416,504,0001,031,0002,289,664
2Jun 13, 2024 12:565,48137,632,87516,509,0001,031,0002,289,664
3Jun 13, 2024 12:565,48643,209,96916,522,0001,032,0002,273,280
4Jun 13, 2024 12:565,48842,333,33216,528,0001,033,0002,289,664
5Jun 13, 2024 12:565,49040,899,35016,536,0001,033,0002,269,184
6Jun 13, 2024 12:565,50043,750,66016,564,0001,035,0002,277,376
7Jun 13, 2024 12:565,50247,850,12816,570,0001,035,0002,289,664
8Jun 13, 2024 12:565,51143,729,83017,635,00002,273,280
9Jun 13, 2024 12:565,51745,845,03016,615,0001,038,0002,289,664
10Jun 13, 2024 12:565,715111,765,59518,287,38702,297,856
11Jun 13, 2024 12:565,71890,466,87318,298,50702,174,976
12Jun 13, 2024 12:565,76083,915,09918,430,93702,301,952