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 04:37MylesMylesScore: 4,458Success
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 04:374,43139,427,16312,153,0002,025,0002,281,472
2Aug 3, 2024 04:374,43130,884,04812,153,0002,025,0002,449,408
3Aug 3, 2024 04:374,43829,623,98612,172,0002,028,0002,281,472
4Aug 3, 2024 04:374,43828,473,60412,172,0002,028,0002,281,472
5Aug 3, 2024 04:374,44433,771,24012,191,0002,031,0002,453,504
6Aug 3, 2024 04:374,45130,608,41613,226,0001,017,0002,449,408
7Aug 3, 2024 04:374,45834,830,48912,227,0002,037,0002,449,408
8Aug 3, 2024 04:374,46153,347,71113,255,0001,019,0002,281,472
9Aug 3, 2024 04:374,46336,194,02513,260,0001,020,0002,281,472
10Aug 3, 2024 04:374,71284,291,78115,078,08302,203,648
11Aug 3, 2024 04:374,72472,758,18815,115,58402,334,720
12Aug 3, 2024 04:374,73181,510,44515,140,57402,211,840