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 4, 2021 04:44Yuriy LyfenkoYuriy LyfenkoScore: 5,036Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 4, 2021 04:444,9731,038,846,45713,924,0001,989,0002,273,280
2Jun 4, 2021 04:444,9731,037,150,13113,926,0001,989,0002,269,184
3Jun 4, 2021 04:444,9911,041,563,45514,972,000998,0002,273,280
4Jun 4, 2021 04:445,0001,036,751,79214,000,0002,000,0002,273,280
5Jun 4, 2021 04:445,0231,036,757,96616,075,00002,281,472
6Jun 4, 2021 04:445,0321,039,108,17815,095,0001,006,0002,273,280
7Jun 4, 2021 04:445,0361,040,362,04616,116,00002,281,472
8Jun 4, 2021 04:445,0381,041,968,57016,120,00002,273,280
9Jun 4, 2021 04:445,0381,042,343,39016,121,00002,273,280
10Jun 4, 2021 04:445,1501,074,394,37716,479,69902,281,472
11Jun 4, 2021 04:445,1621,072,715,51116,516,80402,281,472
12Jun 4, 2021 04:445,1921,072,060,36016,613,49802,285,568