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 21:52Yuriy LyfenkoYuriy LyfenkoScore: 5,026Success
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 21:524,990539,221,89414,970,000998,0002,281,472
2Jun 2, 2021 21:524,995540,233,10113,987,0001,998,0002,273,280
3Jun 2, 2021 21:525,008543,466,74015,026,0001,001,0002,281,472
4Jun 2, 2021 21:525,013538,575,97514,036,0002,005,0002,273,280
5Jun 2, 2021 21:525,021539,791,50515,063,0001,004,0002,273,280
6Jun 2, 2021 21:525,023544,963,71115,071,0001,004,0002,281,472
7Jun 2, 2021 21:525,026542,481,91514,074,0002,010,0002,404,352
8Jun 2, 2021 21:525,039540,612,46815,118,0001,007,0002,273,280
9Jun 2, 2021 21:525,054537,189,16915,163,0001,010,0002,273,280
10Jun 2, 2021 21:525,151576,819,27616,482,57402,256,896
11Jun 2, 2021 21:525,160590,185,59016,513,17802,289,664
12Jun 2, 2021 21:525,182589,592,22316,583,62002,252,800