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 listJul 28, 2024 19:28Joad NacerJoad NacerScore: 4,517Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 28, 2024 19:284,47927,935,54714,332,00002,273,280
2Jul 28, 2024 19:284,48131,874,69814,339,00002,535,424
3Jul 28, 2024 19:284,48833,562,91814,361,00002,273,280
4Jul 28, 2024 19:284,49833,618,52613,365,0001,028,0002,428,928
5Jul 28, 2024 19:284,50131,190,82014,404,00002,535,424
6Jul 28, 2024 19:284,51036,185,97614,433,00002,273,280
7Jul 28, 2024 19:284,51727,709,27414,455,00002,433,024
8Jul 28, 2024 19:284,51726,495,43914,455,00002,535,424
9Jul 28, 2024 19:284,51834,355,89413,424,0001,032,0002,535,424
10Jul 28, 2024 19:284,72684,993,65315,122,76502,314,240
11Jul 28, 2024 19:284,73375,677,83415,144,77202,314,240
12Jul 28, 2024 19:284,74886,466,53615,192,78602,179,072