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 16:25jeffplaisancejeffplaisanceScore: 4,437Success
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 16:254,40432,631,96912,079,0002,013,0002,281,472
2Aug 3, 2024 16:254,42030,804,84712,124,0002,020,0002,281,472
3Aug 3, 2024 16:254,42431,971,79412,136,0002,022,0002,449,408
4Aug 3, 2024 16:254,42530,796,11112,138,0002,023,0002,281,472
5Aug 3, 2024 16:254,43328,868,97812,158,0002,026,0002,453,504
6Aug 3, 2024 16:254,43332,400,10512,159,0002,026,0002,281,472
7Aug 3, 2024 16:254,43730,336,58112,170,0002,028,0002,281,472
8Aug 3, 2024 16:254,43729,792,86112,171,0002,028,0002,535,424
9Aug 3, 2024 16:254,44237,639,20812,183,0002,030,0002,281,472
10Aug 3, 2024 16:254,70771,658,57715,062,67502,199,552
11Aug 3, 2024 16:254,75483,505,69315,211,53702,207,744
12Aug 3, 2024 16:254,77482,770,48415,277,08602,207,744