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 19:39jeffplaisancejeffplaisanceScore: 4,450Success
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 19:394,41332,904,13213,113,0001,008,0002,277,376
2Aug 3, 2024 19:394,42530,205,30213,148,0001,011,0002,277,376
3Aug 3, 2024 19:394,42735,098,05313,155,0001,011,0002,277,376
4Aug 3, 2024 19:394,43933,847,51713,190,0001,014,0002,277,376
5Aug 3, 2024 19:394,44627,961,65813,212,0001,016,0002,494,464
6Aug 3, 2024 19:394,44930,572,73313,220,0001,016,0002,494,464
7Aug 3, 2024 19:394,45028,608,31513,222,0001,017,0002,277,376
8Aug 3, 2024 19:394,45328,484,71613,233,0001,017,0002,502,656
9Aug 3, 2024 19:394,45438,075,26312,218,0002,036,0002,277,376
10Aug 3, 2024 19:394,72697,929,54815,122,25502,260,992
11Aug 3, 2024 19:394,729103,016,57915,132,85002,240,512
12Aug 3, 2024 19:394,72976,325,53015,133,20802,244,608