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 listApr 18, 2024 14:29Robert BurkeRobert BurkeScore: 4,457Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 18, 2024 14:294,42835,738,27212,146,0002,024,0002,281,472
2Apr 18, 2024 14:294,43928,608,56112,176,0002,029,0002,277,376
3Apr 18, 2024 14:294,44036,313,94912,179,0002,029,0002,281,472
4Apr 18, 2024 14:294,44333,853,85212,188,0002,031,0002,281,472
5Apr 18, 2024 14:294,44635,675,45412,194,0002,032,0002,453,504
6Apr 18, 2024 14:294,44833,447,19512,200,0002,033,0002,281,472
7Apr 18, 2024 14:294,45727,989,48614,262,00002,277,376
8Apr 18, 2024 14:294,46030,357,27713,254,0001,019,0002,437,120
9Apr 18, 2024 14:294,47431,003,37112,271,0002,045,0002,277,376
10Apr 18, 2024 14:294,73364,079,38715,144,85702,199,552
11Apr 18, 2024 14:294,754105,667,52615,213,81302,199,552
12Apr 18, 2024 14:294,78289,544,26315,302,39902,203,648