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:45джулисджулисScore: 5,393Success
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:455,33832,514,58015,073,0002,009,0002,289,664
2Aug 3, 2024 21:455,35643,202,96515,124,0002,016,0002,523,136
3Aug 3, 2024 21:455,36033,070,73915,134,0002,017,0002,523,136
4Aug 3, 2024 21:455,36945,378,18215,159,0002,021,0002,396,160
5Aug 3, 2024 21:455,37742,529,60515,182,0002,024,0002,289,664
6Aug 3, 2024 21:455,38537,218,73515,204,0002,027,0002,289,664
7Aug 3, 2024 21:455,39344,771,37915,227,0002,030,0002,273,280
8Aug 3, 2024 21:455,40244,601,05415,253,0002,033,0002,273,280
9Aug 3, 2024 21:455,40238,273,39115,254,0002,033,0002,281,472
10Aug 3, 2024 21:455,63270,875,43618,023,34102,301,952
11Aug 3, 2024 21:455,65383,472,93818,090,22302,306,048
12Aug 3, 2024 21:455,72274,746,92918,310,58502,301,952