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 7, 2024 01:50zielajzielajScore: 4,840Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 7, 2024 01:504,80336,740,03013,319,0002,049,0002,289,664
2Aug 7, 2024 01:504,80536,800,40314,350,0001,025,0002,289,664
3Aug 7, 2024 01:504,80942,295,99315,388,00002,289,664
4Aug 7, 2024 01:504,81637,263,22613,356,0002,054,0002,289,664
5Aug 7, 2024 01:504,82932,604,76514,422,0001,030,0002,281,472
6Aug 7, 2024 01:504,83132,458,44614,429,0001,030,0002,379,776
7Aug 7, 2024 01:504,84038,944,48715,487,00002,277,376
8Aug 7, 2024 01:504,85332,149,30414,494,0001,035,0002,273,280
9Aug 7, 2024 01:504,85833,046,97214,510,0001,036,0002,269,184
10Aug 7, 2024 01:505,04067,906,57416,126,79402,301,952
11Aug 7, 2024 01:505,057109,267,13316,182,20302,179,072
12Aug 7, 2024 01:505,06372,573,01916,201,64302,187,264