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 2, 2021 18:30Yuriy LyfenkoYuriy LyfenkoScore: 5,167Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 2, 2021 18:305,1171,035,394,09215,351,0001,023,0002,519,040
2Jun 2, 2021 18:305,1241,040,189,63516,397,00002,260,992
3Jun 2, 2021 18:305,1271,039,251,99612,304,0004,101,0002,260,992
4Jun 2, 2021 18:305,1281,047,429,94816,409,00002,523,136
5Jun 2, 2021 18:305,1511,038,194,72415,453,0001,030,0002,260,992
6Jun 2, 2021 18:305,1591,042,084,98115,479,0001,031,0002,519,040
7Jun 2, 2021 18:305,1671,045,503,50116,533,00002,527,232
8Jun 2, 2021 18:305,1691,045,608,74316,542,00002,519,040
9Jun 2, 2021 18:305,1791,041,909,63913,465,0003,107,0002,265,088
10Jun 2, 2021 18:305,2971,085,863,12316,950,78002,277,376
11Jun 2, 2021 18:305,3011,073,134,03316,963,15902,273,280
12Jun 2, 2021 18:305,3321,086,821,00917,061,59202,281,472