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 listJul 25, 2024 15:44Yuriy LyfenkoYuriy LyfenkoScore: 4,432Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 25, 2024 15:444,402541,000,15312,074,0002,012,0002,527,232
2Jul 25, 2024 15:444,414543,891,72712,108,0002,018,0002,265,088
3Jul 25, 2024 15:444,425542,841,72112,138,0002,023,0002,265,088
4Jul 25, 2024 15:444,426538,301,26212,141,0002,023,0002,523,136
5Jul 25, 2024 15:444,427537,865,41713,154,0001,011,0002,523,136
6Jul 25, 2024 15:444,428536,927,77414,171,00002,514,944
7Jul 25, 2024 15:444,432542,295,06713,170,0001,013,0002,260,992
8Jul 25, 2024 15:444,445541,271,48012,192,0002,032,0002,523,136
9Jul 25, 2024 15:444,452540,564,23513,228,0001,017,0002,523,136
10Jul 25, 2024 15:444,618572,092,79314,779,05202,281,472
11Jul 25, 2024 15:444,627572,233,34014,806,18002,281,472
12Jul 25, 2024 15:444,640573,677,64214,849,10302,285,568