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 17, 2024 04:44Yuriy LyfenkoYuriy LyfenkoScore: 4,964Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 17, 2024 04:444,87541,211,72714,560,0001,040,0002,392,064
2Aug 17, 2024 04:444,88744,624,05314,596,0001,042,0002,531,328
3Aug 17, 2024 04:444,89241,448,93314,612,0001,043,0002,392,064
4Aug 17, 2024 04:444,89745,094,99111,491,0004,178,0002,396,160
5Aug 17, 2024 04:444,91047,664,17812,570,0003,142,0002,396,160
6Aug 17, 2024 04:444,96144,037,56313,890,0001,984,0002,531,328
7Aug 17, 2024 04:444,96446,695,31413,899,0001,985,0002,400,256
8Aug 17, 2024 04:444,96645,883,70013,905,0001,986,0002,392,064
9Aug 17, 2024 04:444,97145,785,43411,931,0003,977,0002,400,256
10Aug 17, 2024 04:445,12175,122,35816,387,91602,281,472
11Aug 17, 2024 04:445,14376,311,92516,456,72502,277,376
12Aug 17, 2024 04:445,21075,901,04816,671,89002,269,184