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 listJan 29, 2025 06:59Ilya TocarIlya TocarScore: 5,975Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 29, 2025 06:595,95346,095,22117,046,0002,005,0002,273,280
2Jan 29, 2025 06:595,96139,478,28917,067,0002,007,0002,277,376
3Jan 29, 2025 06:595,96248,548,51917,069,0002,008,0002,265,088
4Jan 29, 2025 06:595,96247,308,98618,073,0001,004,0002,277,376
5Jan 29, 2025 06:595,97539,656,92018,114,0001,006,0002,269,184
6Jan 29, 2025 06:595,98342,557,81318,137,0001,007,0002,277,376
7Jan 29, 2025 06:595,98841,149,85116,137,0003,025,0002,273,280
8Jan 29, 2025 06:595,99837,933,73017,172,0002,020,0002,277,376
9Jan 29, 2025 06:596,03835,357,64017,288,0002,033,0002,277,376