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 listAug 3, 2024 21:26джулисджулисScore: 5,513Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 3, 2024 21:265,47139,474,25516,477,0001,029,0002,289,664
2Aug 3, 2024 21:265,48839,483,38216,530,0001,033,0002,273,280
3Aug 3, 2024 21:265,49139,567,85517,572,00002,527,232
4Aug 3, 2024 21:265,49236,362,55516,542,0001,033,0002,269,184
5Aug 3, 2024 21:265,50145,142,21016,567,0001,035,0002,289,664
6Aug 3, 2024 21:265,50342,800,26717,611,00002,527,232
7Aug 3, 2024 21:265,51344,431,52416,604,0001,037,0002,289,664
8Aug 3, 2024 21:265,51751,786,55416,615,0001,038,0002,289,664
9Aug 3, 2024 21:265,51946,746,84516,623,0001,038,0002,289,664
10Aug 3, 2024 21:265,73197,267,34618,338,36902,301,952
11Aug 3, 2024 21:265,76892,411,49018,457,50602,183,168
12Aug 3, 2024 21:265,78791,875,59118,519,29702,301,952