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:29jeffplaisancejeffplaisanceScore: 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:294,41628,870,87512,113,0002,018,0002,441,216
2Aug 3, 2024 16:294,42431,059,69612,136,0002,022,0002,281,472
3Aug 3, 2024 16:294,42935,625,42512,148,0002,024,0002,281,472
4Aug 3, 2024 16:294,43131,043,80312,155,0002,025,0002,535,424
5Aug 3, 2024 16:294,43328,871,30512,160,0002,026,0002,281,472
6Aug 3, 2024 16:294,43540,833,94512,164,0002,027,0002,281,472
7Aug 3, 2024 16:294,43729,216,82813,183,0001,014,0002,453,504
8Aug 3, 2024 16:294,44036,591,25912,178,0002,029,0002,445,312
9Aug 3, 2024 16:294,44143,163,00212,180,0002,030,0002,281,472
10Aug 3, 2024 16:294,69779,823,41315,030,26802,334,720
11Aug 3, 2024 16:294,70887,029,99315,065,06502,211,840
12Aug 3, 2024 16:294,71175,499,28715,075,67702,326,528