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 13, 2021 11:33Dmitry DolgopolovDmitry DolgopolovScore: 4,981Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 13, 2021 11:334,95340,926,72713,868,0001,981,0002,531,328
2Jun 13, 2021 11:334,96134,457,83613,891,0001,984,0002,449,408
3Jun 13, 2021 11:334,96345,051,04613,896,0001,985,0002,453,504
4Jun 13, 2021 11:334,96331,905,65513,896,0001,985,0002,449,408
5Jun 13, 2021 11:334,96641,687,69213,904,0001,986,0002,531,328
6Jun 13, 2021 11:334,96631,333,31913,905,0001,986,0002,531,328
7Jun 13, 2021 11:334,98132,989,71213,948,0001,992,0002,445,312
8Jun 13, 2021 11:334,98837,710,83013,968,0001,995,0002,531,328
9Jun 13, 2021 11:334,99140,433,10813,975,0001,996,0002,449,408
10Jun 13, 2021 11:335,19085,447,57416,607,02602,203,648
11Jun 13, 2021 11:335,20072,682,94116,640,90502,199,552
12Jun 13, 2021 11:335,21283,181,22916,679,33402,215,936