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 19, 2023 21:33Ulyanov AlekseyUlyanov AlekseyScore: 5,585Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 19, 2023 21:335,51842,695,33916,621,0001,038,0002,281,472
2Jun 19, 2023 21:335,52044,771,11317,665,00002,281,472
3Jun 19, 2023 21:335,52345,021,29916,633,0001,039,0002,531,328
4Jun 19, 2023 21:335,57943,290,02316,863,000991,0002,379,776
5Jun 19, 2023 21:335,58143,017,83215,876,0001,984,0002,289,664
6Jun 19, 2023 21:335,58332,798,96916,874,000992,0002,277,376
7Jun 19, 2023 21:335,58545,854,42915,886,0001,985,0002,273,280
8Jun 19, 2023 21:335,58843,598,59515,894,0001,986,0002,289,664
9Jun 19, 2023 21:335,59040,989,97815,902,0001,987,0002,359,296
10Jun 19, 2023 21:335,69261,780,63118,215,19202,297,856
11Jun 19, 2023 21:335,72674,245,16718,321,76502,297,856
12Jun 19, 2023 21:335,73658,628,38718,355,46802,301,952