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 listJul 26, 2024 20:40Robert BurkeRobert BurkeScore: 4,442Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 26, 2024 20:404,42033,404,64112,124,0002,020,0002,281,472
2Jul 26, 2024 20:404,42834,881,54812,145,0002,024,0002,281,472
3Jul 26, 2024 20:404,43028,723,35012,152,0002,025,0002,281,472
4Jul 26, 2024 20:404,43438,857,17912,162,0002,027,0002,281,472
5Jul 26, 2024 20:404,43835,811,57112,174,0002,029,0002,281,472
6Jul 26, 2024 20:404,44134,985,03012,182,0002,030,0002,281,472
7Jul 26, 2024 20:404,44240,232,22012,183,0002,030,0002,449,408
8Jul 26, 2024 20:404,44329,931,76912,188,0002,031,0002,449,408
9Jul 26, 2024 20:404,44830,778,07312,202,0002,033,0002,281,472
10Jul 26, 2024 20:404,68184,858,19414,979,75002,260,992
11Jul 26, 2024 20:404,69189,013,84415,009,60202,207,744
12Jul 26, 2024 20:404,69378,904,67215,017,83402,199,552