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 listFeb 22, 2024 12:36Huy Duc LeHuy Duc LeScore: 5,488Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 22, 2024 12:365,45239,751,40916,419,0001,026,0002,527,232
2Feb 22, 2024 12:365,47436,863,83616,486,0001,030,0002,375,680
3Feb 22, 2024 12:365,47641,570,24716,492,0001,030,0002,523,136
4Feb 22, 2024 12:365,47839,421,62716,500,0001,031,0002,293,760
5Feb 22, 2024 12:365,48042,190,66616,505,0001,031,0002,293,760
6Feb 22, 2024 12:365,48435,746,71416,517,0001,032,0002,289,664
7Feb 22, 2024 12:365,48847,499,63516,530,0001,033,0002,523,136
8Feb 22, 2024 12:365,51346,627,29616,604,0001,037,0002,527,232
9Feb 22, 2024 12:365,52034,418,58217,663,00002,273,280
10Feb 22, 2024 12:365,68289,525,41518,183,70702,301,952
11Feb 22, 2024 12:365,68985,861,75618,204,93402,306,048
12Feb 22, 2024 12:365,71287,446,51218,279,22202,179,072