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 6, 2025 14:07Arnav AggarwalArnav AggarwalScore: 13,248Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 6, 2025 14:0713,21874,371,44642,299,00002,277,376
2Apr 6, 2025 14:0713,23670,031,31238,322,0004,033,0002,277,376
3Apr 6, 2025 14:0713,23766,496,82740,340,0002,017,0002,273,280
4Apr 6, 2025 14:0713,23967,624,73441,357,0001,008,0002,523,136
5Apr 6, 2025 14:0713,24871,575,79141,384,0001,009,0002,277,376
6Apr 6, 2025 14:0713,24868,566,32438,358,0004,037,0002,277,376
7Apr 6, 2025 14:0713,25365,376,48742,411,00002,523,136
8Apr 6, 2025 14:0713,25867,030,88040,406,0002,020,0002,277,376
9Apr 6, 2025 14:0713,26172,680,78540,416,0002,020,0002,277,376