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:46MylesMylesScore: 4,441Success
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:464,39633,866,24012,058,0002,009,0002,449,408
2Aug 3, 2024 04:464,39733,015,73212,061,0002,010,0002,281,472
3Aug 3, 2024 04:464,41836,630,35612,117,0002,019,0002,453,504
4Aug 3, 2024 04:464,42636,589,57312,139,0002,023,0002,281,472
5Aug 3, 2024 04:464,43035,477,45912,150,0002,025,0002,281,472
6Aug 3, 2024 04:464,43532,214,45512,166,0002,027,0002,277,376
7Aug 3, 2024 04:464,44131,603,54112,182,0002,030,0002,449,408
8Aug 3, 2024 04:464,44427,009,20612,191,0002,031,0002,445,312
9Aug 3, 2024 04:464,47334,609,07413,360,000954,0002,449,408
10Aug 3, 2024 04:464,67990,080,87914,971,51202,203,648
11Aug 3, 2024 04:464,70193,626,42315,044,38102,203,648
12Aug 3, 2024 04:464,70272,040,91115,044,92002,330,624