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 17, 2024 02:38Joad NacerJoad NacerScore: 5,501Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 17, 2024 02:385,44648,398,70416,401,0001,025,0002,289,664
2Apr 17, 2024 02:385,45036,028,64417,439,00002,289,664
3Apr 17, 2024 02:385,46242,752,55616,449,0001,028,0002,289,664
4Apr 17, 2024 02:385,48239,984,16216,511,0001,031,0002,289,664
5Apr 17, 2024 02:385,48440,611,93516,517,0001,032,0002,289,664
6Apr 17, 2024 02:385,49233,838,67116,540,0001,033,0002,519,040
7Apr 17, 2024 02:385,50145,427,54216,569,0001,035,0002,273,280
8Apr 17, 2024 02:385,50446,418,69916,578,0001,036,0002,289,664
9Apr 17, 2024 02:385,51242,143,05816,600,0001,037,0002,363,392
10Apr 17, 2024 02:385,66986,116,38118,140,83102,306,048
11Apr 17, 2024 02:385,69471,141,46418,219,34602,301,952
12Apr 17, 2024 02:385,70086,191,81218,239,71202,179,072