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:32Dmitry DolgopolovDmitry DolgopolovScore: 5,049Success
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:325,00838,663,62914,022,0002,003,0002,269,184
2Jun 13, 2021 11:325,01241,612,45914,034,0002,004,0002,531,328
3Jun 13, 2021 11:325,04139,164,50514,116,0002,016,0002,445,312
4Jun 13, 2021 11:325,04440,803,66614,125,0002,017,0002,453,504
5Jun 13, 2021 11:325,04536,559,22815,135,0001,009,0002,457,600
6Jun 13, 2021 11:325,04832,105,10914,136,0002,019,0002,453,504
7Jun 13, 2021 11:325,04942,317,27214,139,0002,019,0002,531,328
8Jun 13, 2021 11:325,06733,418,53114,187,0002,026,0002,531,328
9Jun 13, 2021 11:325,06831,077,26214,191,0002,027,0002,445,312
10Jun 13, 2021 11:325,24296,133,01416,772,91702,199,552
11Jun 13, 2021 11:325,25179,265,16216,803,45602,203,648
12Jun 13, 2021 11:325,31695,280,30017,011,50302,195,456