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 01:59jeffplaisancejeffplaisanceScore: 4,483Success
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 01:594,46129,823,57012,236,0002,039,0002,400,256
2Aug 3, 2024 01:594,46436,299,08813,266,0001,020,0002,281,472
3Aug 3, 2024 01:594,46634,476,64813,272,0001,020,0002,281,472
4Aug 3, 2024 01:594,47434,786,95913,295,0001,022,0002,281,472
5Aug 3, 2024 01:594,47731,308,99613,302,0001,023,0002,400,256
6Aug 3, 2024 01:594,47936,782,82113,310,0001,023,0002,281,472
7Aug 3, 2024 01:594,48331,338,30414,345,00002,277,376
8Aug 3, 2024 01:594,48535,618,12813,326,0001,025,0002,281,472
9Aug 3, 2024 01:594,48931,768,88613,339,0001,026,0002,408,448
10Aug 3, 2024 01:594,713103,725,75615,082,03802,301,952
11Aug 3, 2024 01:594,73388,405,13515,145,96702,297,856
12Aug 3, 2024 01:594,74993,599,88315,196,42602,301,952