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 listJan 25, 2024 12:39matsuoka-601matsuoka-601Score: 4,853Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 25, 2024 12:394,80135,360,08714,340,0001,024,0002,273,280
2Jan 25, 2024 12:394,80635,612,98214,355,0001,025,0002,293,760
3Jan 25, 2024 12:394,80937,165,04614,363,0001,025,0002,293,760
4Jan 25, 2024 12:394,82737,658,85113,386,0002,059,0002,277,376
5Jan 25, 2024 12:394,83339,315,91414,436,0001,031,0002,273,280
6Jan 25, 2024 12:394,83832,225,68614,450,0001,032,0002,351,104
7Jan 25, 2024 12:394,85330,835,26914,496,0001,035,0002,293,760
8Jan 25, 2024 12:394,86631,796,71314,532,0001,038,0002,273,280
9Jan 25, 2024 12:394,87632,994,90414,563,0001,040,0002,277,376
10Jan 25, 2024 12:395,02261,542,33216,070,10602,306,048
11Jan 25, 2024 12:395,06684,485,26516,212,78402,183,168
12Jan 25, 2024 12:395,10384,236,63716,328,18802,306,048