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 11, 2024 16:05Drew GarciaDrew GarciaScore: 5,388Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 11, 2024 16:055,34037,205,82315,078,0002,010,0002,281,472
2Apr 11, 2024 16:055,35543,317,30014,112,0003,024,0002,281,472
3Apr 11, 2024 16:055,35638,493,42815,124,0002,016,0002,281,472
4Apr 11, 2024 16:055,36340,342,48016,154,0001,009,0002,281,472
5Apr 11, 2024 16:055,36439,236,19415,147,0002,019,0002,281,472
6Apr 11, 2024 16:055,36836,221,29315,157,0002,021,0002,281,472
7Apr 11, 2024 16:055,38833,065,65414,200,0003,042,0002,281,472
8Apr 11, 2024 16:055,38942,432,34214,203,0003,043,0002,273,280
9Apr 11, 2024 16:055,40446,370,86413,225,0004,069,0002,281,472
10Apr 11, 2024 16:055,60779,832,42217,941,68302,183,168
11Apr 11, 2024 16:055,62987,632,92618,013,89102,301,952
12Apr 11, 2024 16:055,66872,890,93418,138,68002,187,264