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 listFeb 19, 2024 07:26Huy Duc LeHuy Duc LeScore: 5,587Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 19, 2024 07:265,53444,986,07516,667,0001,041,0002,289,664
2Feb 19, 2024 07:265,54150,044,45216,689,0001,043,0002,277,376
3Feb 19, 2024 07:265,54243,288,89417,734,00002,289,664
4Feb 19, 2024 07:265,55246,086,93917,766,00002,289,664
5Feb 19, 2024 07:265,58244,333,68017,863,00002,289,664
6Feb 19, 2024 07:265,58341,719,90016,875,000992,0002,277,376
7Feb 19, 2024 07:265,58740,356,36915,893,0001,986,0002,273,280
8Feb 19, 2024 07:265,58851,600,64917,881,00002,289,664
9Feb 19, 2024 07:265,59247,517,16816,900,000994,0002,289,664
10Feb 19, 2024 07:265,750103,203,60318,399,21502,306,048
11Feb 19, 2024 07:265,76171,966,16818,433,80602,301,952
12Feb 19, 2024 07:265,79279,997,17018,533,09202,183,168