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 3, 2021 20:50Yuriy LyfenkoYuriy LyfenkoScore: 5,242Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 3, 2021 20:505,176541,626,23815,528,0001,035,0002,293,760
2Jun 3, 2021 20:505,178548,526,11915,536,0001,035,0002,285,568
3Jun 3, 2021 20:505,191545,045,34715,573,0001,038,0002,277,376
4Jun 3, 2021 20:505,197545,623,91316,630,00002,285,568
5Jun 3, 2021 20:505,232542,552,45414,772,0001,969,0002,285,568
6Jun 3, 2021 20:505,242542,944,30215,788,000986,0002,285,568
7Jun 3, 2021 20:505,242541,225,10215,789,000986,0002,293,760
8Jun 3, 2021 20:505,252538,900,79714,830,0001,977,0002,293,760
9Jun 3, 2021 20:505,253544,292,47714,834,0001,977,0002,285,568
10Jun 3, 2021 20:505,361586,796,94817,154,48002,289,664
11Jun 3, 2021 20:505,380576,914,58617,216,17502,289,664
12Jun 3, 2021 20:505,402570,662,47417,285,76602,174,976