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 19:28Robert BurkeRobert BurkeScore: 4,418Success
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 19:284,39532,009,40812,054,0002,009,0002,453,504
2Apr 18, 2024 19:284,39636,984,13112,059,0002,009,0002,449,408
3Apr 18, 2024 19:284,39736,495,26712,060,0002,010,0002,453,504
4Apr 18, 2024 19:284,40829,071,30812,091,0002,015,0002,445,312
5Apr 18, 2024 19:284,40928,211,02912,093,0002,015,0002,281,472
6Apr 18, 2024 19:284,41335,629,18312,106,0002,017,0002,453,504
7Apr 18, 2024 19:284,41835,741,17012,117,0002,019,0002,453,504
8Apr 18, 2024 19:284,42132,363,00712,126,0002,021,0002,535,424
9Apr 18, 2024 19:284,42230,879,81112,130,0002,021,0002,281,472
10Apr 18, 2024 19:284,69284,835,60515,013,32302,203,648
11Apr 18, 2024 19:284,70070,855,36815,039,02702,199,552
12Apr 18, 2024 19:284,71857,112,50415,098,62702,211,840