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 listJun 8, 2024 18:21AndreyTSAndreyTSScore: 5,805Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2024 18:215,75740,047,69517,398,0001,023,0002,289,664
2Jun 8, 2024 18:215,77839,180,26817,461,0001,027,0002,269,184
3Jun 8, 2024 18:215,77841,919,35417,462,0001,027,0002,289,664
4Jun 8, 2024 18:215,78341,890,50817,476,0001,028,0002,289,664
5Jun 8, 2024 18:215,80148,587,49117,533,0001,031,0002,531,328
6Jun 8, 2024 18:215,80335,029,07218,570,00002,375,680
7Jun 8, 2024 18:215,80549,681,02617,545,0001,032,0002,273,280
8Jun 8, 2024 18:215,80854,261,48317,553,0001,032,0002,289,664
9Jun 8, 2024 18:215,81144,915,74817,563,0001,033,0002,355,200
10Jun 8, 2024 18:215,98291,591,11719,141,08802,174,976
11Jun 8, 2024 18:215,99783,020,37619,189,88302,301,952
12Jun 8, 2024 18:216,00660,575,95919,218,19802,297,856